diff options
author | Ernst de Haan <znerd@FreeBSD.org> | 2002-08-29 18:50:11 +0000 |
---|---|---|
committer | Ernst de Haan <znerd@FreeBSD.org> | 2002-08-29 18:50:11 +0000 |
commit | 8a30760000d270c5fab9f20db40720a0b3f88722 (patch) | |
tree | 7342cf3c8d44dc56594284132c90353ccbacea7e /www/apache-jserv | |
parent | Use the new bsd.java.mk structure, so it doesn't try to install (diff) |
Convert this port to use the new bsd.java.mk structure, so it
doesn't try to install jdk-1.1.8 when the user has a newer
version of java installed.
Submitted by: Dave Glowacki <dglo@hyde.ssec.wisc.edu>
PR: 39902
Notes
Notes:
svn path=/head/; revision=65239
Diffstat (limited to 'www/apache-jserv')
-rw-r--r-- | www/apache-jserv/Makefile | 12 |
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\ |