[csw-devel] SF.net SVN: gar:[10998] csw/mgar/pkg/apache2/trunk/Makefile

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sat Sep 18 03:48:30 CEST 2010


Revision: 10998
          http://gar.svn.sourceforge.net/gar/?rev=10998&view=rev
Author:   bdwalton
Date:     2010-09-18 01:48:29 +0000 (Sat, 18 Sep 2010)

Log Message:
-----------
apache2: add an untested cut at modulating in order to build multiple mpms

Modified Paths:
--------------
    csw/mgar/pkg/apache2/trunk/Makefile

Modified: csw/mgar/pkg/apache2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/apache2/trunk/Makefile	2010-09-18 01:37:05 UTC (rev 10997)
+++ csw/mgar/pkg/apache2/trunk/Makefile	2010-09-18 01:48:29 UTC (rev 10998)
@@ -13,6 +13,13 @@
 # work around dumb checkpkg not recognizing the license file ...
 LICENSE = LICENSE
 
+# Build multiple mpm's and merge them all into one install
+EXTRA_MODULATORS = MPM
+MODULATIONS_MPM = prefork worker
+
+MERGE_SCRIPTS_isa-default-mpm-prefork = copy-all
+MERGE_SCRIPTS_isa-default-mpm-worker = copy-only
+
 include files/config.mk
 
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
@@ -78,10 +85,9 @@
 # Build Configuration
 CONFIGURE_ARGS += --with-apr=$(prefix)/bin/apr-1-config
 CONFIGURE_ARGS += --with-apr-util=$(prefix)/bin/apu-1-config
-CONFIGURE_ARGS += --with-mpm=prefork
+CONFIGURE_ARGS += --with-mpm=$(MPM)
 CONFIGURE_ARGS += --disable-static
 
-
 # Fixup target variables
 APACHE_ROOT   = $(DESTDIR)$(prefix)/apache2
 LIBTOOL_LADIR = $(APACHE_ROOT)/lib


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list