MFH: r436993 r437023

Fix POPPLER option

- Bump PORTREVISION for package change

PR:		217581
Submitted by:	Erik Gustafson <gustafson.erik+fbsdbugzilla@gmail.com>

Use POPPLER_CONFIGURE_WITH

Notified by:	mat

Approved by:	ports-secteam (junovitch)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-04-01 10:09:24 +00:00
parent 76fb5c8440
commit 995d6409b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2017Q1/; revision=437405

View File

@ -4,6 +4,7 @@
PORTNAME= gdal
PORTVERSION= 2.1.2
PORTREVISION= 2
PORTREVISION= 1
CATEGORIES= graphics geography
MASTER_SITES= http://download.osgeo.org/gdal/${PORTVERSION}/ \
ftp://ftp.remotesensing.org/pub/gdal/${PORTVERSION}/ \
@ -102,7 +103,7 @@ 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_WITH= poppler=${LOCALBASE}
POPPLER_LIB_DEPENDS= libpoppler.so:graphics/poppler
SPATIALITE_CONFIGURE_WITH= spatialite
SPATIALITE_LIB_DEPENDS= libspatialite.so:databases/spatialite
@ -116,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/