diff options
author | tv <tv> | 2006-04-24 20:10:02 +0000 |
---|---|---|
committer | tv <tv> | 2006-04-24 20:10:02 +0000 |
commit | f96f299a42cb5ceeea6524b1fc68098a07e40a54 (patch) | |
tree | f19637031b80d1ce6c702f1108005f7a7601cc20 /www/apache2 | |
parent | 02231adc40ea32c36a234011d045fbefef9cbe2d (diff) | |
download | pkgsrc-f96f299a42cb5ceeea6524b1fc68098a07e40a54.tar.gz |
Set APACHE_MODULES with ?= *before* bsd.prefs.mk, because that's the only
way that using APACHE_MODULES+= (additive) in mk.conf can work correctly.
Diffstat (limited to 'www/apache2')
-rw-r--r-- | www/apache2/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile index 326e0c9adec..f5bff945764 100644 --- a/www/apache2/Makefile +++ b/www/apache2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.99 2006/04/23 11:42:38 adrianp Exp $ +# $NetBSD: Makefile,v 1.100 2006/04/24 20:10:02 tv Exp $ .include "Makefile.common" @@ -29,6 +29,12 @@ CONFIGURE_ARGS+= --with-apr-util=${BUILDLINK_PREFIX.apr} BUILDLINK_API_DEPENDS.apr+= apr>=0.9.7.2.0.55 +# the following must be set before bsd.prefs.mk in order to make += work +# in mk.conf; however, it isn't expanded until referenced, so we can +# define DFLT_APACHE_MODULES later +# +APACHE_MODULES?= ${DFLT_APACHE_MODULES} + .include "../../mk/bsd.prefs.mk" .include "../../devel/apr/buildlink3.mk" .include "../../textproc/expat/buildlink3.mk" @@ -81,7 +87,6 @@ DFLT_APACHE_MODULES+= ldap auth_ldap # APACHE_MODULES are the modules that are linked statically into the # apache httpd executable. # -APACHE_MODULES?= ${DFLT_APACHE_MODULES} CONFIGURE_ARGS+= --enable-modules=${APACHE_MODULES:Q} BUILD_DEFS+= APACHE_MODULES |