[53517] trunk/dports/lang/php5-devel/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Jul 7 05:06:46 PDT 2009
Revision: 53517
http://trac.macports.org/changeset/53517
Author: ryandesign at macports.org
Date: 2009-07-07 05:06:46 -0700 (Tue, 07 Jul 2009)
Log Message:
-----------
php5-devel: All configure switches related to the CGI SAPI except --enable-cgi have been removed as of PHP 5.3. Make sure we don't build the CGI SAPI unless it was requested.
Modified Paths:
--------------
trunk/dports/lang/php5-devel/Portfile
Modified: trunk/dports/lang/php5-devel/Portfile
===================================================================
--- trunk/dports/lang/php5-devel/Portfile 2009-07-07 11:53:05 UTC (rev 53516)
+++ trunk/dports/lang/php5-devel/Portfile 2009-07-07 12:06:46 UTC (rev 53517)
@@ -105,6 +105,7 @@
--with-png-dir=${prefix} \
--enable-gd-native-ttf \
--without-pear \
+ --disable-cgi \
--with-freetype-dir=${prefix}
platform darwin 6 {
@@ -170,9 +171,10 @@
# relevant part of the post-destroot phase.
variant fastcgi conflicts no_web description {Add FastCGI web server binary} {
if { ![variant_isset apache] && ![variant_isset apache2] } {
+ configure.args-delete \
+ --disable-cgi
configure.args-append \
- --enable-fastcgi \
- --enable-force-cgi-redirect
+ --enable-cgi
}
}
@@ -438,9 +440,10 @@
# Run the build again to get the FastCGI binary. Keep the options here
# in sync with those in the fastcgi variant.
if { [variant_isset apache] || [variant_isset apache2] } {
+ configure.args-delete \
+ --disable-cgi
configure.args-append \
- --enable-fastcgi \
- --enable-force-cgi-redirect
+ --enable-cgi
ui_msg "$UI_PREFIX Configuring ${name} again for fastcgi"
command_exec configure
ui_msg "$UI_PREFIX Building ${name} again for fastcgi"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090707/92d59997/attachment.html>
More information about the macports-changes
mailing list