From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 30 10:20:06 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 38FFE781 for ; Wed, 30 Oct 2013 10:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 174F0243C for ; Wed, 30 Oct 2013 10:20:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9UAK5jR059882 for ; Wed, 30 Oct 2013 10:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9UAK5r3059881; Wed, 30 Oct 2013 10:20:05 GMT (envelope-from gnats) Resent-Date: Wed, 30 Oct 2013 10:20:05 GMT Resent-Message-Id: <201310301020.r9UAK5r3059881@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, lbartoletti Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F1FD44C3 for ; Wed, 30 Oct 2013 10:15:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D011A23D1 for ; Wed, 30 Oct 2013 10:15:26 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r9UAFQVV013688 for ; Wed, 30 Oct 2013 10:15:26 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r9UAFQL1013625; Wed, 30 Oct 2013 10:15:26 GMT (envelope-from nobody) Message-Id: <201310301015.r9UAFQL1013625@oldred.freebsd.org> Date: Wed, 30 Oct 2013 10:15:26 GMT From: lbartoletti To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/183469: [PATCH] graphics/gdal add options X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Oct 2013 10:20:06 -0000 >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: