Ticket #36954: dovecot2.diff
File dovecot2.diff, 6.2 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago) |
---|
-
Portfile
60 60 --with-ssldir=${prefix}/etc/ssl \ 61 61 --enable-shared \ 62 62 --disable-static \ 63 --with-shared-libs 63 --with-shared-libs \ 64 --without-ldap \ 65 --without-lucene \ 66 --without-mysql \ 67 --without-pgsql \ 68 --without-solr \ 69 --without-stemmer 64 70 65 71 # Do not build with kqueue or poll support prior to Darwin 10.7.0 (Mac OS X 10.6) 66 72 if {${os.platform} eq "darwin" && [vercmp ${os.version} 10.7.0] < 0} { … … 67 73 configure.args-append \ 68 74 --with-ioloop=select 69 75 } 70 configure.cppflags -I${prefix}/include/openssl 76 configure.cppflags-append \ 77 -I${prefix}/include/openssl 71 78 72 variant postgresql82 79 variant postgresql82 \ 73 80 conflicts postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 \ 74 81 description "Enable PostgreSQL 8.2 support" { 75 82 76 83 depends_lib-append port:postgresql82 77 84 configure.env-append PG_CONFIG=${prefix}/lib/postgresql82/bin/pg_config 78 configure.args- append--with-pgsql85 configure.args-replace --without-pgsql --with-pgsql 79 86 } 80 87 81 88 variant postgresql83 \ … … 84 91 85 92 depends_lib-append port:postgresql83 86 93 configure.env-append PG_CONFIG=${prefix}/lib/postgresql83/bin/pg_config 87 configure.args- append--with-pgsql94 configure.args-replace --without-pgsql --with-pgsql 88 95 } 89 96 90 97 variant postgresql84 \ … … 93 100 94 101 depends_lib-append port:postgresql84 95 102 configure.env-append PG_CONFIG=${prefix}/lib/postgresql84/bin/pg_config 96 configure.args- append--with-pgsql103 configure.args-replace --without-pgsql --with-pgsql 97 104 } 98 105 99 106 variant postgresql90 \ … … 102 109 103 110 depends_lib-append port:postgresql90 104 111 configure.env-append PG_CONFIG=${prefix}/lib/postgresql90/bin/pg_config 105 configure.args- append--with-pgsql112 configure.args-replace --without-pgsql --with-pgsql 106 113 } 107 114 108 115 variant postgresql91 \ … … 111 118 112 119 depends_lib-append port:postgresql91 113 120 configure.env-append PG_CONFIG=${prefix}/lib/postgresql91/bin/pg_config 114 configure.args- append--with-pgsql121 configure.args-replace --without-pgsql --with-pgsql 115 122 } 116 123 117 124 variant postgresql92 \ … … 120 127 121 128 depends_lib-append port:postgresql92 122 129 configure.env-append PG_CONFIG=${prefix}/lib/postgresql92/bin/pg_config 123 configure.args- append--with-pgsql130 configure.args-replace --without-pgsql --with-pgsql 124 131 } 125 132 126 133 variant mysql5 \ … … 129 136 130 137 depends_lib-append port:mysql5 131 138 configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql5/bin/mysql_config 132 configure.args- append--with-mysql139 configure.args-replace --without-mysql --with-mysql 133 140 } 134 141 135 142 variant mysql51 \ … … 138 145 139 146 depends_lib-append port:mysql51 140 147 configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql51/bin/mysql_config 141 configure.args- append--with-mysql148 configure.args-replace --without-mysql --with-mysql 142 149 } 143 150 144 151 variant mysql55 \ … … 147 154 148 155 depends_lib-append port:mysql55 149 156 configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql55/bin/mysql_config 150 configure.args- append--with-mysql157 configure.args-replace --without-mysql --with-mysql 151 158 } 152 159 153 160 variant mysql56 \ … … 156 163 157 164 depends_lib-append port:mysql56 158 165 configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql56/bin/mysql_config 159 configure.args- append--with-mysql166 configure.args-replace --without-mysql --with-mysql 160 167 } 161 168 162 169 variant mariadb \ … … 165 172 166 173 depends_lib-append port:mariadb 167 174 configure.env-append MYSQL_CONFIG=${prefix}/lib/mariadb/bin/mysql_config 168 configure.args- append--with-mysql175 configure.args-replace --without-mysql --with-mysql 169 176 } 170 177 171 178 variant percona \ 172 179 conflicts mysql5 mysql51 mysql55 mysql56 mariadb \ 173 180 description "Enable Percona (MySQL) support" { 174 depends_lib-append port:percona 175 configure.env-append MYSQL_CONFIG=${prefix}/lib/percona/bin/mysql_config 176 configure.args-append --with-mysql 181 182 depends_lib-append port:percona 183 configure.env-append MYSQL_CONFIG=${prefix}/lib/percona/bin/mysql_config 184 configure.args-replace --without-mysql --with-mysql 177 185 } 178 186 179 187 variant ldap description {Enable LDAP support} { 180 181 188 depends_lib-append port:openldap 182 configure.args- append--with-ldap189 configure.args-replace --without-ldap --with-ldap 183 190 } 184 191 185 if {[vercmp ${version} 2.1.0] > -1} { 186 187 variant lucene description {Enable lucene support} { 188 189 depends_lib-append port:clucene 190 configure.args-append --with-lucene 191 configure.cppflags-append -I/opt/local/include -I/opt/local/lib 192 configure.ldflags-append -L/opt/local/lib/ 193 } 192 variant lucene description {Enable lucene support} { 193 depends_lib-append port:clucene 194 configure.args-replace --without-lucene --with-lucene 194 195 } 195 196 196 variant libstemmer description {Use libstemmer for full-text search} { 197 depends_lib-append port:libstemmer 198 configure.args-append --with-libstemmer 199 configure.cppflags-append -I${prefix}/include 200 configure.ldflags-append -L${prefix}/lib/ 197 variant libstemmer requires lucene description {Use libstemmer for full-text search} { 198 depends_build-append port:libstemmer 199 configure.args-replace --without-stemmer --with-stemmer 201 200 } 202 201 203 202 variant solr description {Enable apache-solr support} { 204 205 203 depends_lib-append port:expat port:curl 206 configure.args- append--with-solr204 configure.args-replace --without-solr --with-solr 207 205 } 208 206 209 207 variant no_startupitem description {Do not install a launchd plist} {}