summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorsborrill <sborrill>2009-02-05 16:39:18 +0000
committersborrill <sborrill>2009-02-05 16:39:18 +0000
commit70d772c283917c3749dee5e1ccec8241d179ba68 (patch)
treebaec889b1138b7014036b03210643fa765fdb0cf /www
parent8129c1f6c9a42eceb16249cae7f9461b6bd7ac44 (diff)
downloadpkgsrc-70d772c283917c3749dee5e1ccec8241d179ba68.tar.gz
Re-introduce support for APACHE_CUSTOM_CFLAGS in mk.conf
Diffstat (limited to 'www')
-rw-r--r--www/apache22/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index 593ff24d6fe..4ce2eb8ae77 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2009/01/24 21:55:31 darcy Exp $
+# $NetBSD: Makefile,v 1.38 2009/02/05 16:39:18 sborrill Exp $
DISTNAME= httpd-2.2.11
PKGREVISION= 1
@@ -27,6 +27,9 @@ CONFIGURE_ARGS+= --with-port=80
CONFIGURE_ARGS+= --enable-so
CONFIGURE_ENV+= perlbin=${PERL5:Q}
CONFIGURE_ENV+= ac_cv_path_RSYNC=/nonexistent
+CONFIGURE_ARGS+= CFLAGS=${APACHE_CUSTOM_CFLAGS:Q}
+
+BUILD_DEFS+= APACHE_CUSTOM_CFLAGS
# Apache Portable Runtime library configure options
CONFIGURE_ARGS+= --with-apr=${BUILDLINK_PREFIX.apr}