summaryrefslogtreecommitdiff
path: root/gis/gdal
diff options
context:
space:
mode:
Diffstat (limited to 'gis/gdal')
-rw-r--r--gis/gdal/gdal.SlackBuild8
-rw-r--r--gis/gdal/gdal.info2
2 files changed, 8 insertions, 2 deletions
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild
index cbfdffc387..668acf0464 100644
--- a/gis/gdal/gdal.SlackBuild
+++ b/gis/gdal/gdal.SlackBuild
@@ -114,6 +114,13 @@ fi
# Thanks to the people at Arch for this:
patch -p0 <$CWD/gdal-python-install.patch
+# poppler-0.41 broke the build again, so we're going to use podofo. This is
+# really an optional dependency that most people don't need, but podofo doesn't
+# have a .pc file for us to autodetect, and pdf support with poppler was
+# included by default in previous gdal builds, so we're going to pretend podofo
+# is a mandatory dep. See also http://www.gdal.org/frmt_pdf.html
+WITHLIST+=" --with-podofo"
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -134,7 +141,6 @@ CXXFLAGS="$SLKCFLAGS" \
--with-static-proj4 \
--with-mysql \
--with-python \
- --with-poppler \
--with-libtiff=internal \
--with-rename-internal-libtiff-symbols=yes \
--with-geotiff=internal \
diff --git a/gis/gdal/gdal.info b/gis/gdal/gdal.info
index 8b7fe178eb..c923cbb034 100644
--- a/gis/gdal/gdal.info
+++ b/gis/gdal/gdal.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://download.osgeo.org/gdal/1.11.4/gdal-1.11.4.tar.xz"
MD5SUM="39d5125f8bf41179db0b450c8db9e1ee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="geos proj"
+REQUIRES="geos proj podofo"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"