Ticket #12654: postgis.patch
File postgis.patch, 1.2 KB (added by frank.mcpherson@…, 17 years ago) |
---|
-
Portfile
old new 1 # $Id: Portfile 2 2211 2007-02-21 23:24:27Z mww@macports.org $1 # $Id: Portfile 28410 2007-08-30 14:16:38Z mww@macports.org $ 2 2 3 3 PortSystem 1.0 4 4 5 5 name postgis 6 version 1. 2.16 version 1.3.1 7 7 revision 1 8 8 categories databases 9 9 platforms darwin … … 19 19 20 20 homepage http://postgis.refractions.net/ 21 21 master_sites http://postgis.refractions.net/download/ 22 checksums sha1 0a47bde414bf691fb624ead37cc119687aba14df22 checksums sha1 db8e954dfc19e73c2331358a396e2064d1333a72 23 23 patchfiles patch-extras-template_gis-postgis_env.sh.in 24 24 25 25 depends_lib port:postgresql82 port:geos port:proj … … 30 30 --with-geos=${prefix}/bin/geos-config \ 31 31 --with-proj=${prefix} 32 32 33 platform darwin 8 { 34 configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 35 } 33 build.args "ICONV_LDFLAGS=\"-L${prefix}/lib -liconv\"" 36 34 37 post-destroot { 38 file rename ${destroot}/etc/default/postgis \ 39 ${destroot}${prefix}/etc/postgis.default 35 platform darwin 8 { 36 configure.compiler gcc-4.0 40 37 } 41 38