summaryrefslogtreecommitdiff
path: root/gis/qmapshack
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2019-11-16 13:07:43 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-11-23 16:01:58 +0700
commit67f93d29bdc5b580087d72d27cd8a7976169c161 (patch)
tree97d4321d7cd8b975b5812071e60c1f01a8c79db7 /gis/qmapshack
parent8cb70fc642c935b8a7f6b7d3ff5cc8cde05e471d (diff)
downloadslackbuilds-67f93d29bdc5b580087d72d27cd8a7976169c161.tar.gz
gis/qmapshack: Fix paths.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'gis/qmapshack')
-rw-r--r--gis/qmapshack/qmapshack.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/gis/qmapshack/qmapshack.SlackBuild b/gis/qmapshack/qmapshack.SlackBuild
index 7dc378d043..0fa7de11c3 100644
--- a/gis/qmapshack/qmapshack.SlackBuild
+++ b/gis/qmapshack/qmapshack.SlackBuild
@@ -46,8 +46,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/${PRGNAM}-V_${VERSION}.tar.gz
+rm -rf $PRGNAM-V_$VERSION
+tar xvf $CWD/${PRGNAM}-${VERSION}.tar.gz
cd ${PRGNAM}-V_${VERSION}
# Apply patches provided in the source tree
@@ -65,7 +65,6 @@ find -L . \
mkdir -p build
cd build
cmake \
- -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \