[70578] trunk/dports/php/php5-postgresql/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Aug 14 02:43:26 PDT 2010


Revision: 70578
          http://trac.macports.org/changeset/70578
Author:   ryandesign at macports.org
Date:     2010-08-14 02:43:23 -0700 (Sat, 14 Aug 2010)
Log Message:
-----------
php5-postgresql: add postgresql90 variant; see #26073

Modified Paths:
--------------
    trunk/dports/php/php5-postgresql/Portfile

Modified: trunk/dports/php/php5-postgresql/Portfile
===================================================================
--- trunk/dports/php/php5-postgresql/Portfile	2010-08-14 06:38:09 UTC (rev 70577)
+++ trunk/dports/php/php5-postgresql/Portfile	2010-08-14 09:43:23 UTC (rev 70578)
@@ -22,27 +22,34 @@
 
 use_parallel_build              yes
 
-variant postgresql82 conflicts postgresql83 postgresql84 description {Use PostgreSQL 8.2 libraries} {
+variant postgresql82 conflicts postgresql83 postgresql84 postgresql90 description {Use PostgreSQL 8.2 libraries} {
     depends_lib-append          port:postgresql82
     archcheck.files-append      lib/postgresql82/libpq.dylib
     configure.args-append       --with-pgsql=${prefix}/lib/postgresql82/bin \
                                 --with-pdo-pgsql=${prefix}/lib/postgresql82/bin
 }
 
-variant postgresql83 conflicts postgresql82 postgresql84 description {Use PostgreSQL 8.3 libraries} {
+variant postgresql83 conflicts postgresql82 postgresql84 postgresql90 description {Use PostgreSQL 8.3 libraries} {
     depends_lib-append          port:postgresql83
     archcheck.files-append      lib/postgresql83/libpq.dylib
     configure.args-append       --with-pgsql=${prefix}/lib/postgresql83/bin \
                                 --with-pdo-pgsql=${prefix}/lib/postgresql83/bin
 }
 
-variant postgresql84 conflicts postgresql82 postgresql83 description {Use PostgreSQL 8.4 libraries} {
+variant postgresql84 conflicts postgresql82 postgresql83 postgresql90 description {Use PostgreSQL 8.4 libraries} {
     depends_lib-append          port:postgresql84
     archcheck.files-append      lib/postgresql84/libpq.dylib
     configure.args-append       --with-pgsql=${prefix}/lib/postgresql84/bin \
                                 --with-pdo-pgsql=${prefix}/lib/postgresql84/bin
 }
 
-if {![variant_isset postgresql82] && ![variant_isset postgresql83]} {
+variant postgresql90 conflicts postgresql82 postgresql83 postgresql84 description {Use PostgreSQL 9.0 libraries} {
+    depends_lib-append          port:postgresql90
+    archcheck.files-append      lib/postgresql90/libpq.dylib
+    configure.args-append       --with-pgsql=${prefix}/lib/postgresql90/bin \
+                                --with-pdo-pgsql=${prefix}/lib/postgresql90/bin
+}
+
+if {![variant_isset postgresql82] && ![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90]} {
     default_variants +postgresql84
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100814/301e5d36/attachment.html>


More information about the macports-changes mailing list