diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-18 21:54:08 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-18 21:54:08 +0000 |
commit | c25ee6ba995a6b7e11a66b431b2662e06b1f167e (patch) | |
tree | d9524bce73eee7398f744011f1d05dfefc15b12c /www/ap-jk | |
parent | f8d269d8c5eda475e875f200b1fa3e3b9a22107d (diff) | |
download | pkgsrc-c25ee6ba995a6b7e11a66b431b2662e06b1f167e.tar.gz |
Use buildlink2 and java.mk.
Diffstat (limited to 'www/ap-jk')
-rw-r--r-- | www/ap-jk/Makefile | 20 |
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" |