From 8894f54ec8bb9f3a31704ff7768cb56b608f7d4b Mon Sep 17 00:00:00 2001 From: grant Date: Mon, 17 Feb 2003 23:05:48 +0000 Subject: use apache/module.mk. --- www/ap-jk/Makefile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'www/ap-jk') diff --git a/www/ap-jk/Makefile b/www/ap-jk/Makefile index 27f8364b32a..15f89b0e1a2 100644 --- a/www/ap-jk/Makefile +++ b/www/ap-jk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2003/02/17 23:04:36 grant Exp $ +# $NetBSD: Makefile,v 1.16 2003/02/17 23:05:48 grant Exp $ DISTNAME= jakarta-tomcat-${TOMCAT_VERSION}-src PKGNAME= ap-jk-${TOMCAT_VERSION} @@ -17,20 +17,15 @@ BUILD_DEPENDS+= gtar-base:../../archivers/gtar-base GTAR= ${LOCALBASE}/bin/gtar USE_BUILDLINK2= # defined -APACHE_MODULE= # defined EXTRACT_ELEMENTS= ${DISTNAME}/src/native WRKSRC= ${WRKDIR}/${DISTNAME}/src/native/apache1.3 -do-build: - cd ${WRKSRC} && \ - ${APXS} -o mod_jk.so \ - -I../jk ${BUILDLINK_CPPFLAGS.${PKG_JVM}} \ - -c *.c ../jk/*.c +APACHE_MODULE_NAME= mod_jk.so +APACHE_MODULE_SRC= *.c ../jk/*.c +CPPFLAGS+= -I../jk ${BUILDLINK_CPPFLAGS.${PKG_JVM}} -do-install: - cd ${WRKSRC} && ${APXS} -i mod_jk.so -.include "../../www/apache/buildlink2.mk" +.include "../../www/apache/module.mk" .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3