summaryrefslogtreecommitdiff
path: root/www/ap2-bw
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2006-12-08 23:34:10 +0000
committerxtraeme <xtraeme@pkgsrc.org>2006-12-08 23:34:10 +0000
commit431c865de4bb657f83aad49ee3f5286b51bd3f78 (patch)
treefaeabddb97e924ac24db2af2155a45ea13adc74d /www/ap2-bw
parent5e26cd5f5d9840f5b92ec2fa5b2cfe9c073c9ee9 (diff)
downloadpkgsrc-431c865de4bb657f83aad49ee3f5286b51bd3f78.tar.gz
* Use apache.mk to be compatible with the new apache22 pkg.
* Use PKG_APACHE_ACCEPTED.
Diffstat (limited to 'www/ap2-bw')
-rw-r--r--www/ap2-bw/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/ap2-bw/Makefile b/www/ap2-bw/Makefile
index f8277d3c32d..34bd716139d 100644
--- a/www/ap2-bw/Makefile
+++ b/www/ap2-bw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/03/22 22:50:33 tv Exp $
+# $NetBSD: Makefile,v 1.6 2006/12/08 23:34:11 xtraeme Exp $
#
DISTNAME= bw_mod-0.6
@@ -15,6 +15,8 @@ COMMENT= Class-based bandwidth limiting module for Apache 2
APACHE_MODULE= # defined
INSTALLATION_DIRS= share/doc
+PKG_APACHE_ACCEPTED= apache2 apache22
+
do-build:
@${ECHO} '#include "${DISTNAME}.c"' >${WRKSRC}/mod_bw.c
cd ${WRKSRC} && ${APXS} -c mod_bw.c
@@ -23,5 +25,5 @@ do-install:
cd ${WRKSRC} && ${APXS} -n bw_module -i mod_bw.la
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.txt ${PREFIX}/share/doc/apache_mod_bw.txt
-.include "../../www/apache2/buildlink3.mk"
+.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"