aboutsummaryrefslogtreecommitdiff
path: root/www/apache-jserv
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-08-29 18:50:11 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-08-29 18:50:11 +0000
commit8a30760000d270c5fab9f20db40720a0b3f88722 (patch)
tree7342cf3c8d44dc56594284132c90353ccbacea7e /www/apache-jserv
parente308806de17c7a849aade0fc8a25f390ab6c0882 (diff)
downloadports-8a30760000d270c5fab9f20db40720a0b3f88722.tar.gz
ports-8a30760000d270c5fab9f20db40720a0b3f88722.zip
Notes
Diffstat (limited to 'www/apache-jserv')
-rw-r--r--www/apache-jserv/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/www/apache-jserv/Makefile b/www/apache-jserv/Makefile
index d2b233c077d2..a4eead0e32c7 100644
--- a/www/apache-jserv/Makefile
+++ b/www/apache-jserv/Makefile
@@ -14,8 +14,10 @@ DISTNAME= ApacheJServ-${PORTVERSION}
MAINTAINER= greg@greg.rim.or.jp
-BUILD_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk11\
- ${LOCALBASE}/sbin/apachectl:${PORTSDIR}/www/apache13\
+USE_JAVA= 1.1+
+NEED_JAVAC= yes
+
+BUILD_DEPENDS= ${LOCALBASE}/sbin/apachectl:${PORTSDIR}/www/apache13\
${LOCALBASE}/share/java/classes/jsdk.jar:${PORTSDIR}/java/jsdk
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper\
${LOCALBASE}/sbin/apachectl:${PORTSDIR}/www/apache13\
@@ -33,10 +35,10 @@ CONFIGURE_ARGS= --prefix=${PREFIX}\
--with-logdir=/var/log\
--sysconfdir=${PREFIX}/etc/apache\
--with-apxs=${LOCALBASE}/sbin/apxs\
- --with-jdk-home=${LOCALBASE}/jdk1.1.8\
+ --with-jdk-home=${JAVA_HOME}\
--with-JSDK=${LOCALBASE}/share/java/classes/jsdk.jar\
- --with-java=${LOCALBASE}/jdk1.1.8/bin/java\
- --with-javac=${LOCALBASE}/jdk1.1.8/bin/javac\
+ --with-java=${JAVA}\
+ --with-javac=${JAVAC}\
--with-servlets=${PREFIX}/share/java/servlets\
--with-gnu-ld\
--enable-compressed-jar\