mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
pyside2 fails to build on the package cluster, e.g. http://beefy5.nyi.freebsd.org/data/120i386-default/498628/logs/py27-pyside2-5.12.2.log I cannot reproduce that failure locally, but I sincerly hope that the additional patch fixes it. Add a comment, else I'll forget that patch is required. While here, update the pre-existing patch file to reduce confusion when looking at patch and code (patch was fine with the file, which did surprise me).
10 lines
719 B
CMake
10 lines
719 B
CMake
--- cmake/Macros/PySideModules.cmake.orig 2019-03-21 14:37:54 UTC
|
|
+++ cmake/Macros/PySideModules.cmake
|
|
@@ -124,6 +124,7 @@ macro(create_pyside_module)
|
|
COMMAND Shiboken2::shiboken2 ${GENERATOR_EXTRA_FLAGS}
|
|
"${pyside2_BINARY_DIR}/${module_NAME}_global.h"
|
|
--include-paths=${shiboken_include_dirs}
|
|
+ --include-paths="${CMAKE_INSTALL_PREFIX}/include"
|
|
${shiboken_framework_include_dirs_option}
|
|
--typesystem-paths=${pyside_binary_dir}${PATH_SEP}${pyside2_SOURCE_DIR}${PATH_SEP}${${module_TYPESYSTEM_PATH}}
|
|
--output-directory=${CMAKE_CURRENT_BINARY_DIR}
|