summaryrefslogtreecommitdiffstats
path: root/gis/qgis/qgis.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2020-12-26 14:05:22 +0100
committer Matteo Bernardini2020-12-26 14:05:22 +0100
commit4fe1e3ae7d3e7066ef74b1f9589738a8ae73b3de (patch)
tree77cccb09589e89c1a2485590a552f5b81f36d103 /gis/qgis/qgis.SlackBuild
parent4d66205399fa44cd8fd2449e27cf79ebf9fa7bb8 (diff)
downloadslackbuilds-current-20201226.1.tar.gz
20201226.1 global branch merge.current-20201226.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'gis/qgis/qgis.SlackBuild')
-rw-r--r--gis/qgis/qgis.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/gis/qgis/qgis.SlackBuild b/gis/qgis/qgis.SlackBuild
index af51687518..01c3f8b96b 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 '/CMAKE_POLICY (SET CMP0071 NEW)/d' CMakeLists.txt
sed -i 's/Protobuf_/PROTOBUF_/' CMakeLists.txt src/core/CMakeLists.txt
@@ -99,6 +99,11 @@ cd build
-DWITH_3D=TRUE \
$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 install DESTDIR=$PKG
cd -