aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2021-04-03 07:14:53 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-10 17:04:47 +0700
commit580a23e146e99953b33953f7a15f97d46e064cc2 (patch)
tree09c20decf9f0a3027cc1751b393acb37c7ca9979 /gis
parent28d8fa62bed86d25a09b17104f931098ab608f66 (diff)
gis/qgis: Support PROJ 8.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r--gis/qgis/qgis.SlackBuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/gis/qgis/qgis.SlackBuild b/gis/qgis/qgis.SlackBuild
index 77ebfb0c3db28..ec241ab7712b1 100644
--- a/gis/qgis/qgis.SlackBuild
+++ b/gis/qgis/qgis.SlackBuild
@@ -77,6 +77,7 @@ else
fi
sed -i 's|${SIP_BINARY_PATH}|/usr/bin/python3-sip|' 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
cd build