diff options
author | glewis <glewis@FreeBSD.org> | 2003-11-21 07:41:09 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2003-11-21 07:41:09 +0800 |
commit | 40987f59f13fdbb9aa1ac060318de4cb65f1183f (patch) | |
tree | e660d50f412fcceb4d256446347cfccb8e8bbd5e /www/mod_jk | |
parent | 2784fa6e0d7e55be466235de956fe25c2ac6d8ce (diff) | |
download | freebsd-ports-gnome-40987f59f13fdbb9aa1ac060318de4cb65f1183f.tar.gz freebsd-ports-gnome-40987f59f13fdbb9aa1ac060318de4cb65f1183f.tar.zst freebsd-ports-gnome-40987f59f13fdbb9aa1ac060318de4cb65f1183f.zip |
. Use the newer, more simplified APACHE dependency handling.
Submitted by: Palle Girgensohn <girgen@pingpong.net> (maintainer)
Diffstat (limited to 'www/mod_jk')
-rw-r--r-- | www/mod_jk/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/www/mod_jk/Makefile b/www/mod_jk/Makefile index 1053eb5d8ce5..8646b2ffce64 100644 --- a/www/mod_jk/Makefile +++ b/www/mod_jk/Makefile @@ -16,15 +16,15 @@ DISTNAME= jakarta-tomcat-connectors-jk-${PORTVERSION}-src MAINTAINER= girgen@pingpong.net COMMENT= Apache JK module for connecting to Tomcat using AJP1X +USE_APACHE= YES + .include <bsd.port.pre.mk> .if exists(${LOCALBASE}/include/apache2/apr.h) -APACHE_PORT?= ${PORTSDIR}/www/apache2 -.else -APACHE_PORT?= ${PORTSDIR}/www/apache13 +WITH_APACHE2= YES .endif -.if ${APACHE_PORT:S/${PORTSDIR}\///} == "www/apache2" +.if defined(WITH_APACHE2) APACHE_VER= 2.0 APACHE2= 2 PLIST_SUB= APACHE2=2 @@ -35,9 +35,6 @@ APACHE2= PLIST_SUB= APACHE2= .endif -BUILD_DEPENDS= ${APXS}:${PORTSDIR}/${APACHE_PORT} -RUN_DEPENDS= ${APXS}:${PORTSDIR}/${APACHE_PORT} - APACHE_CONF= ${LOCALBASE}/etc/apache${APACHE2} WRKSRC= ${WRKDIR}/jakarta-tomcat-connectors-jk-${PORTVERSION}-src/jk/native |