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

ryandesign at macports.org ryandesign at macports.org
Tue Nov 8 15:17:10 PST 2011


Revision: 87057
          http://trac.macports.org/changeset/87057
Author:   ryandesign at macports.org
Date:     2011-11-08 15:17:10 -0800 (Tue, 08 Nov 2011)
Log Message:
-----------
php5-postgresql: add postgresql91 variant (#31985) and use it by default

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

Modified: trunk/dports/php/php5-postgresql/Portfile
===================================================================
--- trunk/dports/php/php5-postgresql/Portfile	2011-11-08 22:16:19 UTC (rev 87056)
+++ trunk/dports/php/php5-postgresql/Portfile	2011-11-08 23:17:10 UTC (rev 87057)
@@ -24,34 +24,41 @@
 
 use_parallel_build              yes
 
-variant postgresql82 conflicts postgresql83 postgresql84 postgresql90 description {Use PostgreSQL 8.2 libraries} {
+variant postgresql82 conflicts postgresql83 postgresql84 postgresql90 postgresql91 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 postgresql90 description {Use PostgreSQL 8.3 libraries} {
+variant postgresql83 conflicts postgresql82 postgresql84 postgresql90 postgresql91 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 postgresql90 description {Use PostgreSQL 8.4 libraries} {
+variant postgresql84 conflicts postgresql82 postgresql83 postgresql90 postgresql91 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
 }
 
-variant postgresql90 conflicts postgresql82 postgresql83 postgresql84 description {Use PostgreSQL 9.0 libraries} {
+variant postgresql90 conflicts postgresql82 postgresql83 postgresql84 postgresql91 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 +postgresql90
+variant postgresql91 conflicts postgresql82 postgresql83 postgresql84 postgresql90 description {Use PostgreSQL 9.1 libraries} {
+    depends_lib-append          port:postgresql91
+    archcheck.files-append      lib/postgresql91/libpq.dylib
+    configure.args-append       --with-pgsql=${prefix}/lib/postgresql91/bin \
+                                --with-pdo-pgsql=${prefix}/lib/postgresql91/bin
 }
+
+if {![variant_isset postgresql82] && ![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91]} {
+    default_variants +postgresql91
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111108/d2d2fdac/attachment.html>


More information about the macports-changes mailing list