diff options
author | tv <tv@pkgsrc.org> | 2006-03-13 22:01:09 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2006-03-13 22:01:09 +0000 |
commit | 5fa63a5c90de03408e34865564f36a0945b31bdf (patch) | |
tree | ae97bd82b26fcdec9c2caccd09b05df9d189907e /www/ap-rpaf | |
parent | 84cb29c197a9a0b25f9fbe15cfe89e58d0a29932 (diff) | |
download | pkgsrc-5fa63a5c90de03408e34865564f36a0945b31bdf.tar.gz |
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).
Diffstat (limited to 'www/ap-rpaf')
-rw-r--r-- | www/ap-rpaf/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
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 |