Modified: trunk/dports/databases/postgis2/Portfile (92493 => 92494)
--- 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