aboutsummaryrefslogtreecommitdiff
path: root/gis/qmapshack/qmapshack.SlackBuild
diff options
context:
space:
mode:
authorDaniel Stolarski <daniel.stolarski@gmail.com>2019-07-20 09:27:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-07-20 09:27:39 +0700
commit9920a1ad6333236274a00fd4aa1c633c9e6911f0 (patch)
tree7f29caa20a621fb7278ebe5f8f29d2945f4adbc5 /gis/qmapshack/qmapshack.SlackBuild
parent43caa708c074200f92c582822936a533e63d451f (diff)
gis/qmapshack: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/qmapshack/qmapshack.SlackBuild')
-rw-r--r--gis/qmapshack/qmapshack.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/gis/qmapshack/qmapshack.SlackBuild b/gis/qmapshack/qmapshack.SlackBuild
index 6c259396d844b..e4b7fc87cafcf 100644
--- a/gis/qmapshack/qmapshack.SlackBuild
+++ b/gis/qmapshack/qmapshack.SlackBuild
@@ -11,7 +11,7 @@
PRGNAM=qmapshack
VERSION=${VERSION:-1.13.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -56,8 +56,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# QuaZip path issue. thx to pAcAs for the hint Obsolete with V. 1.13.0
-#whereis quazip |grep -qE "/include/\<quazip\>" && sed -i 's!quazip5!quazip!g' cmake/Modules/FindQuaZip.cmake
+# Qmapshack expects proj to provide package information files created by cmake, the proj version on slackbuilds.org, however, is built using autotools, thus the config script fails. Again, thx to pAcAs for the hint.
+cat $CWD/FindPROJ4.cmake > cmake/Modules/FindPROJ4.cmake
mkdir -p build
cd build