pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ap-rpaf Make this install properly for Apache 1.3 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f0824687e7d6
branches:  trunk
changeset: 509723:f0824687e7d6
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Mar 13 22:01:09 2006 +0000

description:
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:

 www/ap-rpaf/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 16d887ba1739 -r f0824687e7d6 www/ap-rpaf/Makefile
--- a/www/ap-rpaf/Makefile      Mon Mar 13 21:56:22 2006 +0000
+++ b/www/ap-rpaf/Makefile      Mon Mar 13 22:01:09 2006 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index