Date: Sat, 4 Apr 2015 20:24:36 -0400 From: "Philip M. Gollucci" <pgollucci@p6m7g8.com> To: Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org> Cc: "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "ports-committers@freebsd.org" <ports-committers@freebsd.org> Subject: Re: svn commit: r383240 - head/databases/postgis20 Message-ID: <CACM2dAbRw43yWfzrh6SRstbiz56n5g5XTEpXRx9Y1PW130%2BcdQ@mail.gmail.com> In-Reply-To: <201504041937.t34JbKte024067@svn.freebsd.org> References: <201504041937.t34JbKte024067@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I actually use this port. This actually picked up a lot of my local mods to just get it to work RUNTIME. RASTER is not optional! Read the docs or better yet try to load the postgis extension without it, you'll notice the postgis.control file isn't built or installed which is kind of important!! On Sat, Apr 4, 2015 at 3:37 PM, Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org> wrote: > Author: sunpoet > Date: Sat Apr 4 19:37:19 2015 > New Revision: 383240 > URL: https://svnweb.freebsd.org/changeset/ports/383240 > > Log: > - Update to 2.0.7 > - Adjust option descriptions > - Fix typo > - Cosmetic change > > Changes: http://trac.osgeo.org/postgis/browser/tags/2.0.7/NEWS > > Modified: > head/databases/postgis20/Makefile > head/databases/postgis20/distinfo > > Modified: head/databases/postgis20/Makefile > > ============================================================================== > --- head/databases/postgis20/Makefile Sat Apr 4 19:12:41 2015 > (r383239) > +++ head/databases/postgis20/Makefile Sat Apr 4 19:37:19 2015 > (r383240) > @@ -1,8 +1,7 @@ > # $FreeBSD$ > > PORTNAME= postgis > -PORTVERSION= 2.0.6 > -PORTREVISION= 2 > +PORTVERSION= 2.0.7 > CATEGORIES= databases geography > MASTER_SITES= http://download.osgeo.org/postgis/source/ > PKGNAMESUFFIX= 20 > @@ -18,21 +17,24 @@ LIB_DEPENDS= libgeos.so:${PORTSDIR}/grap > > CONFLICTS_INSTALL= postgis-1.* postgis-2.1.* > > -OPTIONS_DEFINE= LOADERGUI RASTER TOPOLOGY > +OPTIONS_DEFINE= LOADERGUI NLS RASTER TOPOLOGY > OPTIONS_DEFAULT=TOPOLOGY > OPTIONS_SUB= yes > LOADERGUI_DESC= Enable shp2pgsql-gui > -RASTER_DESC= Build raster support > -TOPOLOGY_DESC= Build topology support > +RASTER_DESC= Raster support > +TOPOLOGY_DESC= Topology support > > +CONFIGURE_ARGS= --with-geosconfig=${LOCALBASE}/bin/geos-config \ > + --with-jsondir=${LOCALBASE} \ > + --with-pgconfig=${LOCALBASE}/bin/pg_config \ > + --with-projdir=${LOCALBASE} \ > + --with-xml2config=${LOCALBASE}/bin/xml2-config \ > + ${ICONV_CONFIGURE_ARG} ${ICONV_CONFIGURE_BASE} > GNU_CONFIGURE= yes > -CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} > -CFLAGS+= -I${LOCALBASE}/include > -LDFLAGS+= -L${LOCALBASE}/lib > USE_GNOME= libxml2 > USE_LDCONFIG= yes > USE_PERL5= build > -USES= gmake iconv:wchar_t libtool perl5 pgsql shebangfix > +USES= gmake iconv:wchar_t libtool perl5 pgsql pkgconfig > shebangfix > WANT_PGSQL= server > > PLIST_SUB= PORTVERSION=${PORTVERSION} > @@ -46,9 +48,10 @@ SHEBANG_FILES= astyle.sh \ > raster/test/regress/testgdalraster \ > utils/uninstall_script > > -#LOADERGUI_CONFIGURE_OFF=--without-gui > -LOADERGUI_CONFIGURE_ON= --with-gui > +LOADERGUI_CONFIGURE_WITH= gui > LOADERGUI_USE= GNOME=gtk20 > +NLS_CONFIGURE_WITH= gettext > +NLS_USES= gettext > RASTER_CONFIGURE_OFF= --without-raster > RASTER_CONFIGURE_ON= --with-gdalconfig=${LOCALBASE}/bin/gdal-config > --with-raster > RASTER_LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal > @@ -57,14 +60,13 @@ TOPOLOGY_CONFIGURE_WITH=topology > .include <bsd.port.pre.mk> > > .if ${PORT_OPTIONS:MRASTER} && ${OSVERSION} < 900033 > -BROKEN= Raster suppport is broken on FreeBSD < 9.x > +BROKEN= Raster support is broken on FreeBSD 8.x > .endif > > post-install: > - ${MKDIR} ${STAGEDIR}/${DATADIR}/tiger_2010/ > - (cd ${WRKSRC}/extras/tiger_geocoder/tiger_2010/ && > ${COPYTREE_SHARE} . ${STAGEDIR}/${DATADIR}/tiger_2010/) > - ${MKDIR} ${STAGEDIR}/${DATADIR}/utils/ > - (cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . > ${STAGEDIR}/${DATADIR}/utils/) > + ${MKDIR} ${STAGEDIR}/${DATADIR}/utils/ > ${STAGEDIR}/${DATADIR}/tiger_2010/ > + cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . > ${STAGEDIR}/${DATADIR}/utils/ > + cd ${WRKSRC}/extras/tiger_geocoder/tiger_2010/ && > ${COPYTREE_SHARE} . ${STAGEDIR}/${DATADIR}/tiger_2010/ > ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/* > ${STAGEDIR}/${PREFIX}/lib/*.so ${STAGEDIR}/${PREFIX}/lib/postgresql/*.so > > .include <bsd.port.post.mk> > > Modified: head/databases/postgis20/distinfo > > ============================================================================== > --- head/databases/postgis20/distinfo Sat Apr 4 19:12:41 2015 > (r383239) > +++ head/databases/postgis20/distinfo Sat Apr 4 19:37:19 2015 > (r383240) > @@ -1,2 +1,2 @@ > -SHA256 (postgis-2.0.6.tar.gz) = > 438fc9cf8d008c537ed2d6776bc30e726eb1f9a85247df945c2beccc42f33489 > -SIZE (postgis-2.0.6.tar.gz) = 5651448 > +SHA256 (postgis-2.0.7.tar.gz) = > 35877fd5b591202941c2ae0a6f3fd84b0856649712f760375f17d9903c4c922a > +SIZE (postgis-2.0.7.tar.gz) = 5579719 > > -- --------------------------------------------------------------------------------- Curb: Your ride is here 4096R/D1EAB94D 2081 E230 3001 6508 8847 1BBF A0A8 DB0F D1EA B94D Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. Director IT Operations, Curb What doesn't kill us can only make us stronger; Except it almost kills you.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACM2dAbRw43yWfzrh6SRstbiz56n5g5XTEpXRx9Y1PW130%2BcdQ>