[154243] trunk/dports/python/py-psycopg2/Portfile
vince at macports.org
vince at macports.org
Tue Oct 25 11:37:49 CEST 2016
Revision: 154243
https://trac.macports.org/changeset/154243
Author: vince at macports.org
Date: 2016-10-25 11:37:49 +0200 (Tue, 25 Oct 2016)
Log Message:
-----------
py-psycopg2: add postgresql96 option
Modified Paths:
--------------
trunk/dports/python/py-psycopg2/Portfile
Modified: trunk/dports/python/py-psycopg2/Portfile
===================================================================
--- trunk/dports/python/py-psycopg2/Portfile 2016-10-25 09:32:48 UTC (rev 154242)
+++ trunk/dports/python/py-psycopg2/Portfile 2016-10-25 09:37:49 UTC (rev 154243)
@@ -67,29 +67,39 @@
s|@PG_CONFIG@|${prefix}/lib/postgresql95/bin/pg_config|g \
${worksrcpath}/setup.cfg
}
+
+ if {[variant_isset postgresql96]} {
+ reinplace \
+ s|@PG_CONFIG@|${prefix}/lib/postgresql96/bin/pg_config|g \
+ ${worksrcpath}/setup.cfg
+ }
}
- variant postgresql91 conflicts postgresql92 postgresql93 postgresql94 postgresql95 description "Build using postgresql v9.1" {
+ variant postgresql91 conflicts postgresql92 postgresql93 postgresql94 postgresql95 postgresql96 description "Build using postgresql v9.1" {
depends_lib-append port:postgresql91
}
- variant postgresql92 conflicts postgresql91 postgresql93 postgresql94 postgresql95 description "Build using postgresql v9.2" {
+ variant postgresql92 conflicts postgresql91 postgresql93 postgresql94 postgresql95 postgresql96 description "Build using postgresql v9.2" {
depends_lib-append port:postgresql92
}
- variant postgresql93 conflicts postgresql91 postgresql92 postgresql94 postgresql95 description "Build using postgresql v9.3" {
+ variant postgresql93 conflicts postgresql91 postgresql92 postgresql94 postgresql95 postgresql96 description "Build using postgresql v9.3" {
depends_lib-append port:postgresql93
}
- variant postgresql94 conflicts postgresql91 postgresql92 postgresql93 postgresql95 description "Build using postgresql v9.4" {
+ variant postgresql94 conflicts postgresql91 postgresql92 postgresql93 postgresql95 postgresql96 description "Build using postgresql v9.4" {
depends_lib-append port:postgresql94
}
- variant postgresql95 conflicts postgresql91 postgresql92 postgresql93 postgresql94 description "Build using postgresql v9.5" {
+ variant postgresql95 conflicts postgresql91 postgresql92 postgresql93 postgresql94 postgresql96 description "Build using postgresql v9.5" {
depends_lib-append port:postgresql95
}
- if {![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset postgresql93] && ![variant_isset postgresql94] && ![variant_isset postgresql95]} {
+ variant postgresql96 conflicts postgresql91 postgresql92 postgresql93 postgresql94 postgresql95 description "Build using postgresql v9.5" {
+ depends_lib-append port:postgresql96
+ }
+
+ if {![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset postgresql93] && ![variant_isset postgresql94] && ![variant_isset postgresql95] && ![variant_isset postgresql96]} {
default_variants +postgresql95
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161025/e34dcaad/attachment-0002.html>
More information about the macports-changes
mailing list