. Set a BUILD_DEPENDS for consistency.

. Set _JAVA_BOOTSTRAP_VERSION in case the jbootstrap default changes.
This commit is contained in:
Greg Lewis 2005-07-23 07:48:59 +00:00
parent 3b948fe118
commit b075f4b0d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139949

View file

@ -59,7 +59,8 @@ MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \
SYS_CFLAGS="${CFLAGS}" \
CLASSPATH="" \
LD_LIBRARY_PATH="" \
JAVA_COMPILER=""
JAVA_COMPILER="" \
_JAVA_BOOTSTRAP_VERSION="1.3.1"
.if defined(WITH_PLUGIN)
MAKE_ENV += LIBG_HDRS="${LOCALBASE}/include/glib12" \
GTK_HDRS="${X11BASE}/include/gtk12" \
@ -120,6 +121,7 @@ BUILD_DEPENDS+= ${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-blackdown-jdk13
JDK13DIR= ${LOCALBASE}/jdk${JDK_VERSION}
.elif exists(${LOCALBASE}/diablo-jdk${JDK_VERSION}/bin/javac)
JDK13DIR= ${LOCALBASE}/diablo-jdk${JDK_VERSION}
BUILD_DEPENDS+= ${JDK13DIR}/bin/javac:${PORTSDIR}/java/diablo-jdk${JDK_VERSION}
.else
JDK13DIR= ${LOCALBASE}/jbootstrap
BUILD_DEPENDS+= ${JDK13DIR}/bin/javac:${PORTSDIR}/java/jbootstrap