[92494] trunk/dports/databases/postgis2/Portfile

vince at macports.org vince at macports.org
Mon Apr 30 01:06:31 PDT 2012


Revision: 92494
          https://trac.macports.org/changeset/92494
Author:   vince at macports.org
Date:     2012-04-30 01:06:31 -0700 (Mon, 30 Apr 2012)
Log Message:
-----------
Implement modifications suggested by Ryan (thanks)

Modified Paths:
--------------
    trunk/dports/databases/postgis2/Portfile

Modified: trunk/dports/databases/postgis2/Portfile
===================================================================
--- trunk/dports/databases/postgis2/Portfile	2012-04-30 06:15:25 UTC (rev 92493)
+++ trunk/dports/databases/postgis2/Portfile	2012-04-30 08:06:31 UTC (rev 92494)
@@ -107,14 +107,9 @@
 
 # Port phases
 
-pre-fetch {
-    if {[join [split [exec ${prefix}/bin/geos-config --version] "."] ""] < 332\
-        && [variant_isset topology]} {
-        
-        return -code error  "Topology module requires at least geos 3.3.2.\
-                            Please upgrade."
-    }
-    
+pre-configure {
+    system "cd ${worksrcpath} && ./autogen.sh"
+
     if {[variant_isset postgresql90]} {
         set PGVERSION   postgresql90
     } elseif {[variant_isset postgresql91]} {
@@ -130,10 +125,6 @@
     }
 }
 
-pre-configure {
-    system "cd ${worksrcpath} && ./autogen.sh"
-}
-
 configure.cflags-append \
     -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close \
     -I${prefix}/include
@@ -154,4 +145,4 @@
 
 livecheck.type              regex
 livecheck.url               ${master_sites}
-livecheck.regex             ${name}-(\\d+(?:\\.\\d+)*)\\.tar
\ No newline at end of file
+livecheck.regex             ${name}-(\\d+(?:\\.\\d+)*)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120430/74eb9c65/attachment.html>


More information about the macports-changes mailing list