Ticket #6612: php5-Portfile-patch.diff
File php5-Portfile-patch.diff, 1.6 KB (added by opendarwin-2006@…, 18 years ago) |
---|
-
(a) /tmp/php5-Portfile.orig vs. (b) Portfile
a b 4 4 5 5 name php5 6 6 version 5.1.4 7 revision 27 revision 3 8 8 9 9 categories lang php www 10 maintainers darwinports@opendarwin.org10 maintainers opendarwin-2006@ryandesign.com 11 11 12 12 description PHP: Hypertext Preprocessor 13 13 long_description PHP is a widely-used general-purpose scripting language \ … … 139 139 variant mysql3 conflicts mysql4 mysql5 { 140 140 depends_lib-append port:mysql 141 141 configure.args-delete --without-mysql 142 configure.args-append --with-mysql=${prefix} 142 configure.args-append --with-mysql=${prefix} \ 143 --with-pdo-mysql=${prefix} 143 144 } 144 145 145 146 variant mysql4 conflicts mysql3 mysql5 { 146 147 depends_lib-append port:mysql4 147 148 configure.args-delete --without-mysql 148 configure.args-append --with-mysql=${prefix} 149 configure.args-append --with-mysql=${prefix} \ 150 --with-pdo-mysql=${prefix} 149 151 } 150 152 151 153 variant mysql5 conflicts mysql3 mysql4 { 152 154 depends_lib-append port:mysql5 153 155 configure.args-delete --without-mysql 154 156 configure.args-append --with-mysql=${workpath}/mysql5 \ 157 --with-pdo-mysql=${prefix}/bin/mysql_config5 \ 155 158 --with-mysql-sock=${prefix}/var/run/mysql5/mysqld.sock \ 156 159 --with-mysqli=${prefix}/bin/mysql_config5 157 160 post-extract { … … 163 166 164 167 variant postgresql { 165 168 depends_lib-append port:postgresql8 166 configure.args-append --with-pgsql=${prefix}/lib/pgsql8/bin/ 169 configure.args-append --with-pgsql=${prefix}/lib/pgsql8/bin \ 170 --with-pdo-pgsql=${prefix}/lib/pgsql8/bin 167 171 } 168 172 169 173 # if no apache/apache2/fastcgi variant is set, we set it (need better default variant management)