Ticket #34259: patch-Portfile.dif

File patch-Portfile.dif, 5.9 KB (added by BjarneDMat, 13 years ago)
Line 
1--- /macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/mail/dovecot2/Portfile     2012-04-29 23:48:34.000000000 +0200
2+++ portfiles/mail/dovecot2/Portfile    2012-04-29 23:47:36.000000000 +0200
3@@ -62,76 +62,76 @@
4 }
5 configure.cppflags  -I${prefix}/include/openssl
6 
7-variant postgresql82 description {Enable PostgreSQL 8.2 support} { \
8-    conflicts postgresql83 postgresql84 postgresql90 postgresql91
9-
10-    depends_lib-append          port:postgresql82
11-    configure.env-append        PG_CONFIG=${prefix}/lib/postgresql82/bin/pg_config
12-    configure.args-append       --with-pgsql
13-}
14-
15-variant postgresql83 description {Enable PostgreSQL 8.3 support} { \
16-    conflicts postgresql82 postgresql84 postgresql90 postgresql91
17-
18-    depends_lib-append          port:postgresql83
19-    configure.env-append        PG_CONFIG=${prefix}/lib/postgresql83/bin/pg_config
20-    configure.args-append       --with-pgsql
21-}
22-
23-variant postgresql84 description {Enable PostgreSQL 8.4 support} { \
24-    conflicts postgresql82 postgresql83 postgresql90 postgresql91
25-
26-    depends_lib-append          port:postgresql84
27-    configure.env-append        PG_CONFIG=${prefix}/lib/postgresql84/bin/pg_config
28-    configure.args-append       --with-pgsql
29-}
30-
31-variant postgresql90 description {Enable PostgreSQL 9.0 support} { \
32-    conflicts postgresql82 postgresql83 postgresql84 postgresql91
33-
34-    depends_lib-append          port:postgresql90
35-    configure.env-append        PG_CONFIG=${prefix}/lib/postgresql90/bin/pg_config
36-    configure.args-append       --with-pgsql
37-}
38-
39-variant postgresql91 description {Enable PostgreSQL 9.1 support} { \
40-    conflicts postgresql82 postgresql83 postgresql84 postgresql90
41-
42-    depends_lib-append          port:postgresql91
43-    configure.env-append        PG_CONFIG=${prefix}/lib/postgresql91/bin/pg_config
44-    configure.args-append       --with-pgsql
45-}
46-
47-variant mysql5 description {Enable MySQL 5.1 support} {
48-    conflicts mysql55 mariadb percona
49-
50-    depends_lib-append          port:mysql5
51-    configure.env-append        MYSQL_CONFIG=${prefix}/lib/mysql5/bin/mysql_config
52-    configure.args-append       --with-mysql
53-}
54-
55-variant mysql55 description {Enable MySQL 5.5 support} {
56-    conflicts mysql5 mariadb percona
57-
58-    depends_lib-append          port:mysql55
59-    configure.env-append        MYSQL_CONFIG=${prefix}/lib/mysql55/bin/mysql_config
60-    configure.args-append       --with-mysql
61-}
62-
63-variant mariadb description {Enable MariaDB (MySQL) support} {
64-    conflicts mysql5 mysql55 percona
65-
66-    depends_lib-append          port:mariadb
67-    configure.env-append        MYSQL_CONFIG=${prefix}/lib/mariadb/bin/mysql_config
68-    configure.args-append       --with-mysql
69-}
70-
71-variant percona description {Enable Percona (MySQL) support} {
72-    conflicts mysql5 mysql55 mariadb
73-
74-    depends_lib-append          port:percona
75-    configure.env-append        MYSQL_CONFIG=${prefix}/lib/percona/bin/mysql_config
76-    configure.args-append       --with-mysql
77+variant postgresql82  \
78+    conflicts postgresql83 postgresql84 postgresql90 postgresql91 \
79+    description "Enable PostgreSQL 8.2 support" {
80+        depends_lib-append          port:postgresql82
81+        configure.env-append        PG_CONFIG=${prefix}/lib/postgresql82/bin/pg_config
82+        configure.args-append       --with-pgsql
83+}
84+
85+variant postgresql83 \
86+    conflicts postgresql82 postgresql84 postgresql90 postgresql91 \
87+    description "Enable PostgreSQL 8.3 support" {
88+        depends_lib-append          port:postgresql83
89+        configure.env-append        PG_CONFIG=${prefix}/lib/postgresql83/bin/pg_config
90+        configure.args-append       --with-pgsql
91+}
92+
93+variant postgresql84 \
94+    conflicts postgresql82 postgresql83 postgresql90 postgresql91 \
95+    description "Enable PostgreSQL 8.4 support" {
96+        depends_lib-append          port:postgresql84
97+        configure.env-append        PG_CONFIG=${prefix}/lib/postgresql84/bin/pg_config
98+        configure.args-append       --with-pgsql
99+}
100+
101+variant postgresql90 \
102+    conflicts postgresql82 postgresql83 postgresql84 postgresql91 \
103+    description "Enable PostgreSQL 9.0 support" {
104+        depends_lib-append          port:postgresql90
105+        configure.env-append        PG_CONFIG=${prefix}/lib/postgresql90/bin/pg_config
106+        configure.args-append       --with-pgsql
107+}
108+
109+variant postgresql91 \
110+    conflicts postgresql82 postgresql83 postgresql84 postgresql90 \
111+    description "Enable PostgreSQL 9.1 support" {
112+        depends_lib-append          port:postgresql91
113+        configure.env-append        PG_CONFIG=${prefix}/lib/postgresql91/bin/pg_config
114+        configure.args-append       --with-pgsql
115+}
116+
117+variant mysql51 \
118+    conflicts mysql55 mariadb percona \
119+    description "Enable MySQL 5.1 support" {
120+        depends_lib-append          port:mysql51
121+        configure.env-append        MYSQL_CONFIG=${prefix}/lib/mysql51/bin/mysql_config
122+        configure.args-append       --with-mysql
123+}
124+
125+variant mysql55 \
126+    conflicts mysql51 mariadb percona \
127+    description "Enable MySQL 5.5 support" {
128+        depends_lib-append          port:mysql55
129+        configure.env-append        MYSQL_CONFIG=${prefix}/lib/mysql55/bin/mysql_config
130+        configure.args-append       --with-mysql
131+}
132+
133+variant mariadb \
134+    conflicts mysql51 mysql55 percona \
135+    description "Enable MariaDB (MySQL) support" {
136+        depends_lib-append          port:mariadb
137+        configure.env-append        MYSQL_CONFIG=${prefix}/lib/mariadb/bin/mysql_config
138+        configure.args-append       --with-mysql
139+}
140+
141+variant percona \
142+    conflicts mysql51 mysql55 mariadb \
143+    description "Enable Percona (MySQL) support" {
144+        depends_lib-append          port:percona
145+        configure.env-append        MYSQL_CONFIG=${prefix}/lib/percona/bin/mysql_config
146+        configure.args-append       --with-mysql
147 }
148 
149 variant ldap description {Enable LDAP support} {