aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-03-27 05:24:11 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-03-27 05:24:11 +0800
commit99c469ee5c277706f1f9bfa6dbc2378ef505d7ec (patch)
treec940523f8192542e8bc47bdb712556c6ac1f72be /graphics
parent7adee1125d574b0a0933dc2625df3d15103b1608 (diff)
downloadfreebsd-ports-gnome-99c469ee5c277706f1f9bfa6dbc2378ef505d7ec.tar.gz
freebsd-ports-gnome-99c469ee5c277706f1f9bfa6dbc2378ef505d7ec.tar.zst
freebsd-ports-gnome-99c469ee5c277706f1f9bfa6dbc2378ef505d7ec.zip
Fix POPPLER option
- Bump PORTREVISION for package change PR: 217581 Submitted by: Erik Gustafson <gustafson.erik+fbsdbugzilla@gmail.com> MFH: 2017Q1
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gdal/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
index 0a04c20cb43d..63a2a8c249ea 100644
--- a/graphics/gdal/Makefile
+++ b/graphics/gdal/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gdal
PORTVERSION= 2.1.3
+PORTREVISION= 1
CATEGORIES= graphics geography
MASTER_SITES= http://download.osgeo.org/gdal/${PORTVERSION}/ \
ftp://ftp.remotesensing.org/pub/gdal/${PORTVERSION}/ \
@@ -101,7 +102,8 @@ PGSQL_CONFIGURE_ON= --with-pg=${LOCALBASE}/bin/pg_config
PGSQL_USES= pgsql
PODOFO_CONFIGURE_WITH= podofo
PODOFO_LIB_DEPENDS= libpodofo.so:graphics/podofo
-POPPLER_CONFIGURE_WITH= poppler
+POPPLER_CONFIGURE_OFF= --without-poppler
+POPPLER_CONFIGURE_ON= --with-poppler=${LOCALBASE}
POPPLER_LIB_DEPENDS= libpoppler.so:graphics/poppler
SPATIALITE_CONFIGURE_WITH= spatialite
SPATIALITE_LIB_DEPENDS= libspatialite.so:databases/spatialite
@@ -115,7 +117,7 @@ XERCES_LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3
post-patch:
@${REINPLACE_CMD} -e 's|$$(INST_LIB)/pkgconfig|${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/GNUmakefile
@${REINPLACE_CMD} -e 's|-lminizip|-lkmlminizip|' ${WRKSRC}/configure
-# Cleanup bundled libraries
+# Clean up bundled libraries
@${RM} -r ${WRKSRC}/frmts/gif/giflib/
@${RM} -r ${WRKSRC}/frmts/gtiff/libgeotiff/
@${RM} -r ${WRKSRC}/frmts/gtiff/libtiff/