[73159] trunk/dports/python/py26-pgsql/Portfile
blb at macports.org
blb at macports.org
Fri Nov 5 14:09:31 PDT 2010
Revision: 73159
http://trac.macports.org/changeset/73159
Author: blb at macports.org
Date: 2010-11-05 14:09:27 -0700 (Fri, 05 Nov 2010)
Log Message:
-----------
python/py26-pgsql - add variant for PostGreSQL 9.0, move to 8.4 for the default; ticket #27149
Modified Paths:
--------------
trunk/dports/python/py26-pgsql/Portfile
Modified: trunk/dports/python/py26-pgsql/Portfile
===================================================================
--- trunk/dports/python/py26-pgsql/Portfile 2010-11-05 20:59:22 UTC (rev 73158)
+++ trunk/dports/python/py26-pgsql/Portfile 2010-11-05 21:09:27 UTC (rev 73159)
@@ -35,22 +35,28 @@
demo2a.py demo2b.py ${destroot}${prefix}/share/doc/${name}/examples
}
-variant postgresql83 conflicts postgresql84 description {Use with PostgreSQL 8.3} {
+variant postgresql83 conflicts postgresql84 postgresql90 description {Use with PostgreSQL 8.3} {
global build.env destroot.env
depends_lib-append port:postgresql83
build.env PATH="${prefix}/lib/postgresql83/bin:$env(PATH)"
destroot.env ${build.env}
}
-variant postgresql84 conflicts postgresql83 description {Use with PostgreSQL 8.4} {
+variant postgresql84 conflicts postgresql83 postgresql90 description {Use with PostgreSQL 8.4} {
global build.env destroot.env
depends_lib-append port:postgresql84
build.env PATH="${prefix}/lib/postgresql84/bin:$env(PATH)"
destroot.env ${build.env}
}
-# Default to postgresql83 since that was the built-in version previously
-if {![variant_isset postgresql83] && ![variant_isset postgresql84]} {
- default_variants +postgresql83
+variant postgresql90 conflicts postgresql83 postgresql84 description {Use with PostgreSQL 9.0} {
+ global build.env destroot.env
+ depends_lib-append port:postgresql90
+ build.env PATH="${prefix}/lib/postgresql90/bin:$env(PATH)"
+ destroot.env ${build.env}
}
+if {![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/20101105/732622c1/attachment.html>
More information about the macports-changes
mailing list