Ticket #47125: pykde4-macports-adaptations-toolongfilename.diff
File pykde4-macports-adaptations-toolongfilename.diff, 810 bytes (added by RJVB (René Bertin), 10 years ago) |
---|
-
CMakeLists.txt
old new 162 162 # pykdeconfig will not work. 163 163 execute_process(COMMAND "${PYTHON_EXECUTABLE}" -c "import PyQt4.pyqtconfig" 164 164 RESULT_VARIABLE _exit_code OUTPUT_QUIET ERROR_QUIET) 165 if (NOT _exit_code) 166 python_install(${CMAKE_CURRENT_BINARY_DIR}/pykdeconfig.py ${PYTHON_SITE_PACKAGES_INSTALL_DIR}/PyKDE4) 167 endif () 165 # deactivate this because of cmake will try to create a recursive filename that gets way too long 166 #if (NOT _exit_code) 167 # python_install(pykdeconfig.py ${PYTHON_SITE_PACKAGES_INSTALL_DIR}/PyKDE4) 168 #endif () 168 169 169 170 # Do not use --no-undefined for python modules. 170 171 STRING(REPLACE -Wl,--no-undefined "" CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}")