[21538] trunk/dports/www/php5/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat Jan 27 13:18:42 PST 2007


Revision: 21538
          http://trac.macosforge.org/projects/macports/changeset/21538
Author:   ryandesign at macports.org
Date:     2007-01-27 13:18:42 -0800 (Sat, 27 Jan 2007)

Log Message:
-----------
Adding +pcntl variant at the request of Mike Newton. Note that we are using a variant rather than enabling the process control functions by default because php is often used in a web server environment, and the php manual says the pcntl functions are unstable there. See http://www.php.net/pcntl

Modified Paths:
--------------
    trunk/dports/www/php5/Portfile

Modified: trunk/dports/www/php5/Portfile
===================================================================
--- trunk/dports/www/php5/Portfile	2007-01-27 20:52:13 UTC (rev 21537)
+++ trunk/dports/www/php5/Portfile	2007-01-27 21:18:42 UTC (rev 21538)
@@ -193,6 +193,11 @@
 		--enable-sysvmsg
 }
 
+# add process control functions; see http://www.php.net/pcntl
+variant pcntl {
+	configure.args-append	--enable-pcntl
+}
+
 # if no apache/apache2/fastcgi variant is set, we set it (need better default variant management)
 if { ![variant_isset apache] && ![variant_isset apache2] && ![variant_isset fastcgi] } {
 	if { ! [variant_isset macosx] } {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070127/3287a275/attachment.html


More information about the macports-changes mailing list