Bug 183469 - [PATCH] graphics/gdal add options
Summary: [PATCH] graphics/gdal add options
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-30 10:20 UTC by Loïc Bartoletti
Modified: 2013-11-23 16:00 UTC (History)
0 users

See Also:


Attachments
file.diff (2.86 KB, patch)
2013-10-30 10:20 UTC, Loïc Bartoletti
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Loïc Bartoletti freebsd_committer freebsd_triage 2013-10-30 10:20:00 UTC
Add options for gdal 1.10.1
- FreeXL
- PDF radio options : Poppler or PoDoFo
- Armadillo

Tinderlog: 
https://redports.org/buildarchive/20131030093201-21985/

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-30 10:20:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-23 15:55:16 UTC
Author: sunpoet
Date: Sat Nov 23 15:55:08 2013
New Revision: 334681
URL: http://svnweb.freebsd.org/changeset/ports/334681

Log:
  - Add ARMADILLO, FREEXL and PODOFO options
  - Fix whitespace in r329304
  - While I'm here, move SLAVEDIRS upward
  
  PR:		ports/183469
  Submitted by:	lbartoletti <coder@tuxfamily.org>

Modified:
  head/graphics/gdal/Makefile

Modified: head/graphics/gdal/Makefile
==============================================================================
--- head/graphics/gdal/Makefile	Sat Nov 23 15:52:43 2013	(r334680)
+++ head/graphics/gdal/Makefile	Sat Nov 23 15:55:08 2013	(r334681)
@@ -14,9 +14,11 @@ COMMENT=	Translator library for raster g
 
 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 \
-		SQLITE TIFF WEBP XERCES
+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=	PODOFO POPPLER
 OPTIONS_DEFAULT=GEOTIFF GIF JASPER JPEG PNG TIFF
 PCRE_DESC=	Regular expression support for SQLite
 
@@ -31,6 +33,11 @@ USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
 USES=		gmake
 
+SLAVEDIRS=	graphics/p5-Geo-GDAL graphics/php-gdal graphics/py-gdal graphics/ruby-gdal
+
+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 +50,9 @@ ECW_LIB_DEPENDS=	libNCSEcw.so:${PORTSDIR
 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 +70,7 @@ HDF5_CONFIGURE_ON=	--with-hdf5=${LOCALBA
 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 +102,9 @@ PGSQL_USE=		PGSQL=yes
 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
@@ -111,8 +124,6 @@ XERCES_CONFIGURE_OFF=	--with-xerces=no
 XERCES_CONFIGURE_ON=	--with-xerces=${LOCALBASE}
 XERCES_LIB_DEPENDS=	libxerces-c.so:${PORTSDIR}/textproc/xerces-c3
 
-SLAVEDIRS=	graphics/p5-Geo-GDAL graphics/php-gdal graphics/py-gdal graphics/ruby-gdal
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-11-23 15:55:19 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!