summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-02-17 22:33:55 +0000
committergrant <grant@pkgsrc.org>2003-02-17 22:33:55 +0000
commite8bd0cf98832792e22159e82213edf4902dca345 (patch)
tree37cb970b3c2a0da74014def04ebecc9f8be2aaff /www
parentaa151ccf3f40e6c59710ef9d4348c95f53239c59 (diff)
downloadpkgsrc-e8bd0cf98832792e22159e82213edf4902dca345.tar.gz
also pass CPPFLAGS to apxs.
Diffstat (limited to 'www')
-rw-r--r--www/apache/module.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/apache/module.mk b/www/apache/module.mk
index 890eb33b426..e4661e235b7 100644
--- a/www/apache/module.mk
+++ b/www/apache/module.mk
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.4 2003/02/17 21:31:09 grant Exp $
+# $NetBSD: module.mk,v 1.5 2003/02/17 22:33:55 grant Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install apache modules.
@@ -31,8 +31,8 @@ APACHE_MODULE_SRC?= *.c
apache-module-build:
${_PKG_SILENT}${_PKG_DEBUG} \
- cd ${APACHE_MODULE_SRCDIR} && ${APXS} ${LDFLAGS} -c -o \
- ${APACHE_MODULE_NAME} ${APACHE_MODULE_SRC}
+ cd ${APACHE_MODULE_SRCDIR} && ${APXS} ${CPPFLAGS} ${LDFLAGS} \
+ -c -o ${APACHE_MODULE_NAME} ${APACHE_MODULE_SRC}
do-build: apache-module-build
${_PKG_SILENT}${_PKG_DEBUG}${DO_NADA}