Ticket #10046: Portfile.diff
File Portfile.diff, 1.0 KB (added by markd@…, 18 years ago) |
---|
-
Portfile
old new 4 4 5 5 name php5 6 6 version 5.1.4 7 revision 37 revision 4 8 8 9 9 categories lang php www 10 10 maintainers opendarwin-2006@ryandesign.com … … 170 170 --with-pdo-pgsql=${prefix}/lib/pgsql8/bin 171 171 } 172 172 173 variant apple_snmp conflicts snmp { 174 # This compiles PHP5 with SNMP linked against Apple's included NET-SNMP. PHP's behavior may be affected by OS updates. 175 configure.args-append --with-snmp=/usr 176 } 177 178 variant snmp conflicts apple_snmp { 179 # This depends on DarwinPorts' NET-SNMP anf links PHP5 against it. A safer option because OS updates will not affect it PHP or DP's NET-SNMP. 180 configure.args-append --with-snmp=${prefix} 181 depends_lib-append port:net-snmp 182 } 183 173 184 # if no apache/apache2/fastcgi variant is set, we set it (need better default variant management) 174 185 if { ![variant_isset apache] && ![variant_isset apache2] && ![variant_isset fastcgi] } { 175 186 if { ! [variant_isset macosx] } {