[21093] trunk/dports/www/apache2/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sun Dec 31 15:29:33 PST 2006
Revision: 21093
http://trac.macosforge.org/projects/macports/changeset/21093
Author: jberry at macports.org
Date: 2006-12-31 15:29:32 -0800 (Sun, 31 Dec 2006)
Log Message:
-----------
apache2:
Add variants to select the mpm to be used.
The current apache2 build on os x defaults to the prefork mpm. The worker mpm may be preferred, and if we decide that is so we should turn it into a default.
Modified Paths:
--------------
trunk/dports/www/apache2/Portfile
Modified: trunk/dports/www/apache2/Portfile
===================================================================
--- trunk/dports/www/apache2/Portfile 2006-12-31 20:32:53 UTC (rev 21092)
+++ trunk/dports/www/apache2/Portfile 2006-12-31 23:29:32 UTC (rev 21093)
@@ -91,6 +91,21 @@
depends_lib-append port:openldap
}
+# This ends up being the default mpm if no other is chosen
+variant preforkmpm {
+ configure.args-append --with-mpm=prefork
+}
+
+# This mpm is probably preferred (maybe we should make it a default variant?)
+variant workermpm {
+ configure.args-append --with-mpm=worker
+}
+
+# This mpm is experimental
+variant eventmpm {
+ configure.args-append --with-mpm=event
+}
+
startupitem.create yes
startupitem.start \
"\[ -x ${prefix}/apache2/bin/apachectl \] && ${prefix}/apache2/bin/apachectl start > /dev/null"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061231/8ecf2ee6/attachment.html
More information about the macports-changes
mailing list