ports/183469: [PATCH] graphics/gdal add options
lbartoletti
coder at tuxfamily.org
Wed Oct 30 10:20:06 UTC 2013
>Number: 183469
>Category: ports
>Synopsis: [PATCH] graphics/gdal add options
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 30 10:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: lbartoletti
>Release:
>Organization:
>Environment:
>Description:
Add options for gdal 1.10.1
- FreeXL
- PDF radio options : Poppler or PoDoFo
- Armadillo
Tinderlog:
https://redports.org/buildarchive/20131030093201-21985/
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN graphics/gdal.orig/Makefile graphics/gdal/Makefile
--- graphics/gdal.orig/Makefile 2013-10-30 11:10:28.000000000 +0100
+++ graphics/gdal/Makefile 2013-10-30 11:10:51.000000000 +0100
@@ -1,9 +1,9 @@
# Created by: Randall Hopper
-# $FreeBSD: graphics/gdal/Makefile 329346 2013-10-04 17:20:18Z sunpoet $
+# $FreeBSD$
PORTNAME= gdal
PORTVERSION= 1.10.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics geography
MASTER_SITES= http://download.osgeo.org/gdal/${PORTVERSION}/ \
ftp://ftp.remotesensing.org/pub/gdal/${PORTVERSION}/ \
@@ -14,10 +14,15 @@
LICENSE= MIT
-OPTIONS_DEFINE= CFITSIO CURL ECW EXPAT GEOS GEOTIFF GIF GTA HDF5 ICONV JASPER \
- JPEG KML LIBXML2 MYSQL NETCDF ODBC PCRE PGSQL PNG POPPLER PROJ \
+OPTIONS_DEFINE= ARMADILLO CFITSIO CURL ECW EXPAT FREEXL GEOS GEOTIFF GIF GTA HDF5 ICONV JASPER \
+ JPEG KML LIBXML2 MYSQL NETCDF ODBC PCRE PGSQL PNG PROJ \
SQLITE TIFF WEBP XERCES
+OPTIONS_RADIO= PDF
+OPTIONS_RADIO_PDF= POPPLER PODOFO
OPTIONS_DEFAULT=GEOTIFF GIF JASPER JPEG PNG TIFF
+PODOFO_DESC=PDF file support
+FREEXL_DESC=Excel (.xls) file support
+ARMADILLO_DESC=Armadillo support for faster TPS transform computation
PCRE_DESC= Regular expression support for SQLite
CFLAGS+= -fPIC
@@ -31,6 +36,9 @@
USE_LDCONFIG= yes
USES= gmake
+ARMADILLO_CONFIGURE_OFF= --with-armadillo=no
+ARMADILLO_CONFIGURE_ON= --with-armadillo=${LOCALBASE}
+ARMADILLO_LIB_DEPENDS= libarmadillo.so:${PORTSDIR}/math/armadillo
CFITSIO_CONFIGURE_OFF= --with-cfitsio=no
CFITSIO_CONFIGURE_ON= --with-cfitsio=${LOCALBASE}
CFITSIO_LIB_DEPENDS= libcfitsio.so:${PORTSDIR}/astro/cfitsio
@@ -43,6 +51,9 @@
EXPAT_CONFIGURE_OFF= --with-expat=no
EXPAT_CONFIGURE_ON= --with-expat=${LOCALBASE}
EXPAT_LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
+FREEXL_CONFIGURE_OFF= --with-freexl=no
+FREEXL_CONFIGURE_ON= --with-freexl=${LOCALBASE}
+FREEXL_LIB_DEPENDS= libfreexl.so:${PORTSDIR}/textproc/freexl
GEOS_CONFIGURE_OFF= --with-geos=no
GEOS_CONFIGURE_ON= --with-geos=${LOCALBASE}/bin/geos-config
GEOS_LIB_DEPENDS= libgeos.so:${PORTSDIR}/graphics/geos
@@ -60,7 +71,7 @@
HDF5_LIB_DEPENDS= libhdf5.so.7:${PORTSDIR}/science/hdf5-18
ICONV_CONFIGURE_OFF= --with-libiconv-prefix=no
ICONV_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG}
-ICONV_LDFLAGS= -L${LOCALBASE}/lib ${ICONV_LIB}
+ICONV_LDFLAGS= -L${LOCALBASE}/lib ${ICONV_LIB}
ICONV_USES= iconv
JASPER_CONFIGURE_OFF= --with-jasper=no
JASPER_CONFIGURE_ON= --with-jasper=${LOCALBASE}
@@ -92,6 +103,9 @@
PNG_CONFIGURE_OFF= --with-png=internal
PNG_CONFIGURE_ON= --with-png=${LOCALBASE}
PNG_LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
+PODOFO_CONFIGURE_OFF= --with-podofo=no
+PODOFO_CONFIGURE_ON= --with-podofo=${LOCALBASE}
+PODOFO_LIB_DEPENDS= libpodofo.so:${PORTSDIR}/graphics/podofo
POPPLER_CONFIGURE_OFF= --with-poppler=no
POPPLER_CONFIGURE_ON= --with-poppler=${LOCALBASE}
POPPLER_LIB_DEPENDS= libpoppler.so:${PORTSDIR}/graphics/poppler
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list