Revision
100205
Author
vince@macports.org
Date
2012-12-03 10:25:54 -0800 (Mon, 03 Dec 2012)

Log Message

Add postgresql92 variant (I needed it for testing, sorry for bypassing diplomatic channels)

Modified Paths

Diff

Modified: trunk/dports/gis/gdal/Portfile (100204 => 100205)


--- trunk/dports/gis/gdal/Portfile	2012-12-03 18:00:04 UTC (rev 100204)
+++ trunk/dports/gis/gdal/Portfile	2012-12-03 18:25:54 UTC (rev 100205)
@@ -264,6 +264,12 @@
     configure.args-append   --with-pg=${prefix}/lib/postgresql91/bin/pg_config
 }
 
+variant postgresql92 description {Enable PostgreSQL 9.2 support} {
+    depends_lib-append      port:postgresql92
+    configure.args-delete   --without-pg
+    configure.args-append   --with-pg=${prefix}/lib/postgresql92/bin/pg_config
+}
+
 variant mysql5 description {Enable MySQL 5 support} {
     depends_lib-append      path:bin/mysql_config5:mysql5
     configure.args-delete   --without-mysql