Commit 995d6409 authored by Sunpoet Po-Chuan Hsieh's avatar Sunpoet Po-Chuan Hsieh
Browse files

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)
parent 76fb5c84
......@@ -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/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment