summaryrefslogtreecommitdiff
path: root/www/ap-jk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-02-17 23:05:48 +0000
committergrant <grant@pkgsrc.org>2003-02-17 23:05:48 +0000
commit8894f54ec8bb9f3a31704ff7768cb56b608f7d4b (patch)
tree2ea2a32fa3a7e7ef76c9cbdeb54d5e4141c53e17 /www/ap-jk
parentd149430d22ec4673284053c909edf3fd04fa2118 (diff)
downloadpkgsrc-8894f54ec8bb9f3a31704ff7768cb56b608f7d4b.tar.gz
use apache/module.mk.
Diffstat (limited to 'www/ap-jk')
-rw-r--r--www/ap-jk/Makefile15
1 files changed, 5 insertions, 10 deletions
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"