[61279] trunk/dports/lang/php52/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Dec 7 14:49:09 PST 2009


Revision: 61279
          http://trac.macports.org/changeset/61279
Author:   ryandesign at macports.org
Date:     2009-12-07 14:49:07 -0800 (Mon, 07 Dec 2009)
Log Message:
-----------
php52: add postgresql84 variant; see #22808

Modified Paths:
--------------
    trunk/dports/lang/php52/Portfile

Modified: trunk/dports/lang/php52/Portfile
===================================================================
--- trunk/dports/lang/php52/Portfile	2009-12-07 22:40:12 UTC (rev 61278)
+++ trunk/dports/lang/php52/Portfile	2009-12-07 22:49:07 UTC (rev 61279)
@@ -268,7 +268,7 @@
         --with-pdo-oci=instantclient,${prefix}/lib/oracle,10.1
 }
 
-variant postgresql82 conflicts postgresql83 description {Add postgresql82 support} {
+variant postgresql82 conflicts postgresql83 postgresql84 description {Add PostgreSQL 8.2 support} {
     depends_lib-append \
         port:postgresql82
     configure.args-append \
@@ -276,7 +276,7 @@
         --with-pdo-pgsql=${prefix}/lib/postgresql82/bin
 }
 
-variant postgresql83 conflicts postgresql82 description {Add postgresql83 support} {
+variant postgresql83 conflicts postgresql82 postgresql84 description {Add PostgreSQL 8.3 support} {
     depends_lib-append \
         port:postgresql83
     configure.args-append \
@@ -284,6 +284,14 @@
         --with-pdo-pgsql=${prefix}/lib/postgresql83/bin
 }
 
+variant postgresql84 conflicts postgresql82 postgresql83 description {Add PostgreSQL 8.4 support} {
+    depends_lib-append \
+        port:postgresql84
+    configure.args-append \
+        --with-pgsql=${prefix}/lib/postgresql84/bin \
+        --with-pdo-pgsql=${prefix}/lib/postgresql84/bin
+}
+
 # note that standard sqlite support uses the built-in sqlite2 libraries
 # while pdo sqlite support uses the sqlite3 libraries from the sqlite3 port
 variant sqlite description {Add SQLite support} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091207/b8475c09/attachment.html>


More information about the macports-changes mailing list