Ticket #32761: patch-Portfile

File patch-Portfile, 2.4 KB (added by BjarneDMat, 13 years ago)

patch adding support for postgresql 9.1

Line 
1--- /macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/mail/dovecot2/Portfile     2011-12-20 19:00:28.000000000 +0100
2+++ portfiles/mail/dovecot2/Portfile    2012-01-04 16:35:26.000000000 +0100
3@@ -72,30 +72,36 @@
4     }
5 }
6 
7-variant postgresql82 conflicts postgresql83 postgresql84 postgresql90 description {Enable PostgreSQL 8.2 support} {
8+variant postgresql82 conflicts postgresql83 postgresql84 postgresql90 postgresql91 description {Enable PostgreSQL 8.2 support} {
9     depends_lib-append          port:postgresql82
10     configure.env-append        PG_CONFIG=${prefix}/lib/postgresql82/bin/pg_config
11     configure.args-append       --with-pgsql
12 }
13 
14-variant postgresql83 conflicts postgresql82 postgresql84 postgresql90 description {Enable PostgreSQL 8.3 support} {
15+variant postgresql83 conflicts postgresql82 postgresql84 postgresql90 postgresql91 description {Enable PostgreSQL 8.3 support} {
16     depends_lib-append          port:postgresql83
17     configure.env-append        PG_CONFIG=${prefix}/lib/postgresql83/bin/pg_config
18     configure.args-append       --with-pgsql
19 }
20 
21-variant postgresql84 conflicts postgresql82 postgresql83 postgresql90 description {Enable PostgreSQL 8.4 support} {
22+variant postgresql84 conflicts postgresql82 postgresql83 postgresql90 postgresql91 description {Enable PostgreSQL 8.4 support} {
23     depends_lib-append          port:postgresql84
24     configure.env-append        PG_CONFIG=${prefix}/lib/postgresql84/bin/pg_config
25     configure.args-append       --with-pgsql
26 }
27 
28-variant postgresql90 conflicts postgresql82 postgresql83 postgresql84 description {Enable PostgreSQL 9.0 support} {
29+variant postgresql90 conflicts postgresql82 postgresql83 postgresql84 postgresql91 description {Enable PostgreSQL 9.0 support} {
30     depends_lib-append          port:postgresql90
31     configure.env-append        PG_CONFIG=${prefix}/lib/postgresql90/bin/pg_config
32     configure.args-append       --with-pgsql
33 }
34 
35+variant postgresql91 conflicts postgresql82 postgresql83 postgresql84 postgresql90 description {Enable PostgreSQL 9.1 support} {
36+    depends_lib-append          port:postgresql91
37+    configure.env-append        PG_CONFIG=${prefix}/lib/postgresql91/bin/pg_config
38+    configure.args-append       --with-pgsql
39+}
40+
41 variant mysql5 description {Enable MySQL support} {
42     depends_lib-append          path:bin/mysql_config5:mysql5
43     configure.env-append        MYSQL_CONFIG=${prefix}/bin/mysql_config5