summaryrefslogtreecommitdiff
path: root/www/apache/module.mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-02 10:43:18 +0000
committerrillig <rillig@pkgsrc.org>2006-07-02 10:43:18 +0000
commitac39fa67d9ef560999e4e0c62ab15740d0e6f1b1 (patch)
tree6d759282eb0b802df95be1442ddf1d47048b4e49 /www/apache/module.mk
parent74379c4448babaf8a7a444f54ebc2fe6625357ed (diff)
downloadpkgsrc-ac39fa67d9ef560999e4e0c62ab15740d0e6f1b1.tar.gz
Fixed some easy pkglint warnings.
Diffstat (limited to 'www/apache/module.mk')
-rw-r--r--www/apache/module.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/apache/module.mk b/www/apache/module.mk
index d2c26c9d4b9..e820c69e0fe 100644
--- a/www/apache/module.mk
+++ b/www/apache/module.mk
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.10 2005/03/24 22:42:59 jlam Exp $
+# $NetBSD: module.mk,v 1.11 2006/07/02 10:43:18 rillig Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install apache modules.
@@ -23,23 +23,25 @@
.if !defined(_APACHE_MODULE_MK)
_APACHE_MODULE_MK= # defined
-APACHE_MODULE= # defined
+APACHE_MODULE= yes
.include "../../www/apache/buildlink3.mk"
APACHE_MODULE_SRCDIR?= ${WRKSRC}
APACHE_MODULE_SRC?= *.c
+.PHONY: apache-module-build
apache-module-build:
${_PKG_SILENT}${_PKG_DEBUG} \
cd ${APACHE_MODULE_SRCDIR} && \
- ${SETENV} PATH=${PATH} \
+ ${SETENV} PATH=${PATH:Q} \
${APXS} ${CPPFLAGS} ${LDFLAGS} \
-c -o ${APACHE_MODULE_NAME} ${APACHE_MODULE_SRC}
do-build: apache-module-build
${_PKG_SILENT}${_PKG_DEBUG}${DO_NADA}
+.PHONY: apache-module-install
apache-module-install:
${_PKG_SILENT}${PKG_DEBUG} \
cd ${APACHE_MODULE_SRCDIR} && ${APXS} -i ${APACHE_MODULE_NAME}