[35849] trunk/dports/www/php5/Portfile

jwa at macports.org jwa at macports.org
Tue Apr 8 09:54:53 PDT 2008


Revision: 35849
          http://trac.macosforge.org/projects/macports/changeset/35849
Author:   jwa at macports.org
Date:     2008-04-08 09:54:52 -0700 (Tue, 08 Apr 2008)

Log Message:
-----------
postgresql variant split into two, postgresql82, and postgresql83, to reflect the same support structure as with mysql variants

Modified Paths:
--------------
    trunk/dports/www/php5/Portfile

Modified: trunk/dports/www/php5/Portfile
===================================================================
--- trunk/dports/www/php5/Portfile	2008-04-08 13:44:40 UTC (rev 35848)
+++ trunk/dports/www/php5/Portfile	2008-04-08 16:54:52 UTC (rev 35849)
@@ -4,7 +4,7 @@
 
 name                    php5
 version                 5.2.5
-revision                2
+revision                3
 categories              www lang php
 maintainers             ryandesign jwa
 homepage                http://www.php.net/
@@ -254,14 +254,22 @@
         --with-oci8=instantclient,${prefix}/lib/oracle
 }
 
-variant postgresql description {provide postgresql support} {
+variant postgresql82 conflicts postgresql83 description {provide postgresql82 support} {
     depends_lib-append \
-        port:postgresql82
+	port:postgresql82
     configure.args-append \
-        --with-pgsql=${prefix}/lib/postgresql82/bin \
-        --with-pdo-pgsql=${prefix}/lib/postgresql82/bin
+	--with-pgsql=${prefix}/lib/postgresql82/bin \
+	--with-pdo-pgsql=${prefix}/lib/postgresql82/bin
 }
 
+variant postgresql83 conflicts postgresql82 description {provide postgresql83 support} {
+    depends_lib-append \
+	port:postgresql83
+    configure.args-append \
+	--with-pgsql=${prefix}/lib/postgresql83/bin \
+	--with-pdo-pgsql=${prefix}/lib/postgresql83/bin
+}
+
 # add sqlite support
 # note that standard sqlite support uses the built-in sqlite2 libraries
 # while pdo sqlite support uses the sqlite3 libraries from the sqlite3 port

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080408/b437e485/attachment.html


More information about the macports-changes mailing list