diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2021-04-19 17:12:43 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-21 21:23:49 -0500 |
commit | bf9e4066270d91c7888f48a35461894e18b768a3 (patch) | |
tree | 81fe1e7873a07e2404e99d6ca76762b8cc951834 /gis/qgis | |
parent | 13c9b1eb87d937e079ce6453fc07cba19631f17c (diff) |
gis/qgis: Improve build process.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'gis/qgis')
-rw-r--r-- | gis/qgis/qgis.SlackBuild | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gis/qgis/qgis.SlackBuild b/gis/qgis/qgis.SlackBuild index 22be7b5a43ad..5ce77d5e6773 100644 --- a/gis/qgis/qgis.SlackBuild +++ b/gis/qgis/qgis.SlackBuild @@ -76,12 +76,10 @@ else WITHGRASS="" fi -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 cd build - export "PATH=/opt/cmake-202x/bin:$PATH" cmake .. \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ @@ -100,11 +98,6 @@ cd build -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 - |