SVN commit 528380 by neundorf:

-handling paths containing spaces seems to be a major problem, at least here
on FreeBSD
without the double qoutes LD_LIBRARY_PATH works at least, and the added double
qoutes help in finding the executable, but now dcopidl2cpp complains about
the space in the path to the kidl file, and no qoutes and no backslashes
help :-/

Alex

P.S. if this breaks the build on other systems, feel free to revert

CCMAIL: [email protected]



 M  +2 -2      kde4_exec_via_sh.cmake  


--- trunk/KDE/kdelibs/cmake/modules/kde4_exec_via_sh.cmake #528379:528380
@@ -3,9 +3,9 @@
 "#!/bin/sh
 # created by cmake, don't edit, changes will be lost
 
-${_library_path_variable}=\"${_ld_library_path}\":$${_library_path_variable} 
${_executable} $@
+${_library_path_variable}=${_ld_library_path}:$${_library_path_variable} 
\"${_executable}\" $@
 ")
 
 # make it executable
 # since this is only executed on UNIX, it is safe to call chmod
-exec_program(chmod ARGS 755 "${_filename}" OUTPUT_VARIABLE _dummy )
+exec_program(chmod ARGS 755 \"${_filename}\" OUTPUT_VARIABLE _dummy )
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to