From 940fa32b1f5dab5bd8c85b84c311a47c7f091ebc Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 13 Mar 2006 22:01:09 +0000 Subject: Make this install properly for Apache 1.3 (I think; I don't have such a system to test, but this should be the 1.3 syntax for apxs -i). --- www/ap-rpaf/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'www') diff --git a/www/ap-rpaf/Makefile b/www/ap-rpaf/Makefile index d398fdee7b0..bf688bff01f 100644 --- a/www/ap-rpaf/Makefile +++ b/www/ap-rpaf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2006/03/06 19:31:03 tv Exp $ +# $NetBSD: Makefile,v 1.2 2006/03/13 22:01:09 tv Exp $ # DISTNAME= mod_rpaf-0.5 @@ -13,16 +13,19 @@ COMMENT= Remaps reverse-proxied connections to "real" requesting IPs APACHE_MODULE= # defined INSTALLATION_DIRS= share/doc +.include "../../mk/apache.mk" + do-build: cd ${WRKSRC} && ${APXS} -c mod_rpaf.c do-install: - cd ${WRKSRC} && ${APXS} -n rpaf_module -i mod_rpaf.la + cd ${WRKSRC} && ${APXS} -n rpaf_module -i mod_rpaf.${APXS_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mod_rpaf.txt -.include "../../mk/apache.mk" +APXS_SUFFIX?= so .if ${PKG_APACHE} != "apache13" +APXS_SUFFIX= la do-configure: ${RM} -f ${WRKSRC}/mod_rpaf.c ${CP} -f ${WRKSRC}/mod_rpaf-2.0.c ${WRKSRC}/mod_rpaf.c -- cgit v1.2.3