summaryrefslogtreecommitdiff
path: root/libraries/gdal/gdal.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/gdal/gdal.SlackBuild')
-rw-r--r--libraries/gdal/gdal.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/gdal/gdal.SlackBuild b/libraries/gdal/gdal.SlackBuild
index f55942630c..70fbdd5e97 100644
--- a/libraries/gdal/gdal.SlackBuild
+++ b/libraries/gdal/gdal.SlackBuild
@@ -24,7 +24,7 @@
# Maintained by David Spencer <baildon.research@googlemail.com>
PRGNAM=gdal
-VERSION=${VERSION:-1.9.0}
+VERSION=${VERSION:-1.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -81,6 +81,11 @@ fi
# Thanks to the people at Arch for this:
patch -p0 <$CWD/gdal-python-install.patch
+# and to the ones at Gentoo for this:
+patch -p4 <$CWD/gdal-1.9.1-poppler-0.20.1.patch
+
+echo "ACLOCAL_AMFLAGS = -I m4" > Makefile.am
+autoreconf -i
CFLAGS="$SLKCFLAGS -Wno-error" \
CXXFLAGS="$SLKCFLAGS -Wno-error" \
@@ -108,7 +113,7 @@ CXXFLAGS="$SLKCFLAGS -Wno-error" \
$WITHLIST \
--build=$ARCH-slackware-linux
-make
+make -j1
make install DESTDIR=$PKG
# Kill erroneously installed .dox files