[56417] trunk/dports/databases/libgda4/Portfile

devans at macports.org devans at macports.org
Thu Aug 27 02:05:57 PDT 2009


Revision: 56417
          http://trac.macports.org/changeset/56417
Author:   devans at macports.org
Date:     2009-08-27 02:05:53 -0700 (Thu, 27 Aug 2009)
Log Message:
-----------
libgda4: add +with_postgresql84 variant to support PostgreSQL 8.4.x.

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

Modified: trunk/dports/databases/libgda4/Portfile
===================================================================
--- trunk/dports/databases/libgda4/Portfile	2009-08-27 08:12:02 UTC (rev 56416)
+++ trunk/dports/databases/libgda4/Portfile	2009-08-27 09:05:53 UTC (rev 56417)
@@ -94,7 +94,7 @@
 	configure.cppflags-append	"-I${prefix}/include/mysql5/mysql"
 }
 
-variant with_postgresql83 \
+variant with_postgresql83 conflicts with_postgresql84 \
     description {support for PostgreSQL 8.3.x} {
 	configure.cppflags-append	"-I${prefix}/include/postgresql83"
 	depends_lib-append	port:postgresql83
@@ -102,6 +102,14 @@
 	configure.args-append	--with-postgres=${prefix}/lib/postgresql83
 }
 
+variant with_postgresql84 conflicts with_postgresql83 \
+    description {support for PostgreSQL 8.4.x} {
+	configure.cppflags-append	"-I${prefix}/include/postgresql84"
+	depends_lib-append	port:postgresql84
+	configure.args-delete   --without-postgres
+	configure.args-append	--with-postgres=${prefix}/lib/postgresql84
+}
+
 variant without_bdb \
     description {remove support for Berkeley DB} {
 	configure.args-delete   --with-bdb=${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090827/cbb55d4a/attachment.html>


More information about the macports-changes mailing list