svn commit: r547690 - head/graphics/gdal
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Sep 5 21:29:01 UTC 2020
Author: sunpoet
Date: Sat Sep 5 21:28:58 2020
New Revision: 547690
URL: https://svnweb.freebsd.org/changeset/ports/547690
Log:
Use qhull from ports
- Bump PORTREVISION for dependency change
Modified:
head/graphics/gdal/Makefile
Modified: head/graphics/gdal/Makefile
==============================================================================
--- head/graphics/gdal/Makefile Sat Sep 5 21:28:53 2020 (r547689)
+++ head/graphics/gdal/Makefile Sat Sep 5 21:28:58 2020 (r547690)
@@ -3,7 +3,7 @@
PORTNAME= gdal
PORTVERSION= 3.1.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= graphics geography
MASTER_SITES= https://download.osgeo.org/gdal/${PORTVERSION}/ \
LOCAL/sunpoet
@@ -21,14 +21,15 @@ LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff \
libjson-c.so:devel/json-c \
libpng.so:graphics/png \
libproj.so:graphics/proj \
+ libqhull.so:math/qhull \
libtiff.so:graphics/tiff
OPTIONS_DEFINE= ARMADILLO CFITSIO CURL ECW EXPAT FREEXL GEOS GTA HDF5 JASPER \
KML LIBXML2 MYSQL NETCDF ODBC OPENJPEG PCRE PGSQL SFCGAL \
SPATIALITE SQLITE WEBP XERCES ZSTD
-OPTIONS_DEFAULT=JASPER
OPTIONS_RADIO= PDF
OPTIONS_RADIO_PDF= PODOFO POPPLER
+OPTIONS_DEFAULT=JASPER
OPTIONS_SUB= yes
PCRE_DESC= Regular expression support for SQLite
@@ -47,6 +48,7 @@ CONFIGURE_ARGS= --datadir=${PREFIX}/share \
--with-libz=/usr \
--with-png=yes \
--with-proj=yes \
+ --with-qhull=yes \
--with-threads=yes \
--without-libtool \
${ICONV_CONFIGURE_ARG}
@@ -141,6 +143,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|-lminizip|-lkmlminizip|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|getCString()|c_str()|' ${WRKSRC}/frmts/pdf/pdfdataset.cpp ${WRKSRC}/frmts/pdf/pdfobject.cpp
# Clean up bundled libraries
+ @${RM} -r ${WRKSRC}/alg/internal_libqhull/
@${RM} -r ${WRKSRC}/frmts/gif/giflib/
@${RM} -r ${WRKSRC}/frmts/gtiff/libgeotiff/
@${RM} -r ${WRKSRC}/frmts/gtiff/libtiff/
More information about the svn-ports-all
mailing list