diff options
Diffstat (limited to 'gis/qgis/qgis.SlackBuild')
-rw-r--r-- | gis/qgis/qgis.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gis/qgis/qgis.SlackBuild b/gis/qgis/qgis.SlackBuild index ec241ab7712b1..22be7b5a43ad0 100644 --- a/gis/qgis/qgis.SlackBuild +++ b/gis/qgis/qgis.SlackBuild @@ -76,7 +76,7 @@ else WITHGRASS="" fi -sed -i 's|${SIP_BINARY_PATH}|/usr/bin/python3-sip|' cmake/SIPMacros.cmake +sed -i 's|${SIP_BINARY_PATH}|/usr/bin/sip3|' cmake/SIPMacros.cmake sed -i '43 i IF (NOT PROJ_INCLUDE_DIR)\nFIND_PATH(PROJ_INCLUDE_DIR proj.h\n"$ENV{INCLUDE}"\n"$ENV{LIB_DIR}/include"\n)\nENDIF (NOT PROJ_INCLUDE_DIR)\n' cmake/FindProj.cmake mkdir -p build @@ -93,13 +93,18 @@ cd build -DWITH_QWTPOLAR=TRUE \ -DWITH_CUSTOM_WIDGETS=FALSE \ -DBINDINGS_GLOBAL_INSTALL=TRUE \ - -DQWT_INCLUDE_DIR=/usr/include/qt5/qwt \ + -DQWT_INCLUDE_DIR=/usr/include/qwt \ -DQSCINTILLA_INCLUDE_DIR=/usr/include/qt5 \ -DENABLE_TESTS=FALSE \ -DWITH_3D=TRUE \ -Wno-dev \ $WITHGRASS + # Workaround a cmake bug (?) + sed -i "s/\\$\\$\\$\\$/\$\$/" \ + src/core/CMakeFiles/qgis_core.dir/build.make \ + src/core/CMakeFiles/qgis_core_autogen.dir/build.make || exit 1 + make || make -j1 make install DESTDIR=$PKG cd - |