summaryrefslogtreecommitdiff
path: root/gis/qmapshack/qmapshack.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/qmapshack/qmapshack.SlackBuild')
-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 \