summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjlam <jlam>2002-10-18 21:54:08 +0000
committerjlam <jlam>2002-10-18 21:54:08 +0000
commitf214c332fbb275c3c60df1facb7690803c0e5b88 (patch)
treed9524bce73eee7398f744011f1d05dfefc15b12c /www
parent1c1bc7903768c60599bd2e1e573d785a21c4dc47 (diff)
downloadpkgsrc-f214c332fbb275c3c60df1facb7690803c0e5b88.tar.gz
Use buildlink2 and java.mk.
Diffstat (limited to 'www')
-rw-r--r--www/ap-jk/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/www/ap-jk/Makefile b/www/ap-jk/Makefile
index 0bb3dcbc5a5..cd08edc261d 100644
--- a/www/ap-jk/Makefile
+++ b/www/ap-jk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2002/10/10 01:01:11 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2002/10/18 21:54:08 jlam Exp $
DISTNAME= jakarta-tomcat-3.2.4-src
PKGNAME= ap-jk-3.2.4
@@ -9,23 +9,21 @@ MAINTAINER= jwise@netbsd.org
HOMEPAGE= http://jakarta.apache.org/
COMMENT= improved connector for accessing Jakarta Tomcat or JServ from Apache
-DEPENDS+= apache{,6}-1.3.*:../../www/apache
-
-USE_JAVA= run
-USE_PERL5= build # for "apxs"
+USE_BUILDLINK2= # defined
+APACHE_MODULE= # defined
EXTRACT_ELEMENTS= ${DISTNAME}/src/native
WRKSRC= ${WRKDIR}/${DISTNAME}/src/native/apache1.3
do-build:
- (cd ${WRKSRC} && \
- ${LOCALBASE}/sbin/apxs -o mod_jk.so \
- -I../jk -I${PKG_JAVA_HOME}/include \
- -I${PKG_JAVA_HOME}/include/netbsd \
- -I${PKG_JAVA_HOME}/include/linux \
- -c *.c ../jk/*.c)
+ cd ${WRKSRC} && \
+ ${APXS} -o mod_jk.so \
+ -I../jk ${BUILDLINK_CPPFLAGS.${PKG_JVM}} \
+ -c *.c ../jk/*.c
do-install:
${INSTALL_DATA} ${WRKSRC}/mod_jk.so ${PREFIX}/lib/httpd
+.include "../../www/apache/buildlink2.mk"
+.include "../../mk/java.mk"
.include "../../mk/bsd.pkg.mk"