[92581] trunk/dports/databases/postgis2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue May 1 12:16:20 PDT 2012
Revision: 92581
https://trac.macports.org/changeset/92581
Author: ryandesign at macports.org
Date: 2012-05-01 12:16:19 -0700 (Tue, 01 May 2012)
Log Message:
-----------
postgis2: add autoconf, automake, libtool build dependencies needed by autogen script; wait to run the autogen script until after we've tested if the combination of universal variants is ok; use system -W
Modified Paths:
--------------
trunk/dports/databases/postgis2/Portfile
Modified: trunk/dports/databases/postgis2/Portfile
===================================================================
--- trunk/dports/databases/postgis2/Portfile 2012-05-01 19:15:17 UTC (rev 92580)
+++ trunk/dports/databases/postgis2/Portfile 2012-05-01 19:16:19 UTC (rev 92581)
@@ -29,6 +29,10 @@
svn.revision ${revision}
svn.url http://svn.osgeo.org/postgis/trunk
+depends_build port:autoconf \
+ port:automake \
+ port:libtool
+
depends_lib port:geos\
port:proj\
port:libiconv\
@@ -109,8 +113,6 @@
# Port phases
pre-configure {
- system "cd ${worksrcpath} && ./autogen.sh"
-
if {[variant_isset postgresql90]} {
set PGVERSION postgresql90
} elseif {[variant_isset postgresql91]} {
@@ -124,6 +126,8 @@
return -code error "Since $PGVERSION has been built universal,\
PostGIS must also be built universal."
}
+
+ system -W ${worksrcpath} "./autogen.sh"
}
configure.cflags-append \
@@ -136,8 +140,8 @@
file copy ${filespath}/ed_command ${worksrcpath}/ed_command
reinplace -E "s#XXX#${configure.universal_cflags}#" \
${worksrcpath}/ed_command
- system "cd ${worksrcpath}/liblwgeom && \
- ed Makefile < ${worksrcpath}/ed_command"
+ system -W ${worksrcpath}/liblwgeom \
+ "ed Makefile < ${worksrcpath}/ed_command"
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120501/ab1e07f3/attachment.html>
More information about the macports-changes
mailing list