summaryrefslogtreecommitdiff
path: root/java/jdk13
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2003-08-29 21:12:18 +0000
committerGreg Lewis <glewis@FreeBSD.org>2003-08-29 21:12:18 +0000
commit4030c045ad6a816bf3d8e42172d94575924099f4 (patch)
tree5642dbe5d36f9163f12fc3dad100978bc46b4e27 /java/jdk13
parentUnbreak on any platform. (diff)
. Add support for bootstrapping with the Diablo Caffe JDK. The bootstrap
order is now: . linux-blackdown-jdk13 iff WITH_LINUX_BOOTSTRAP is set. . A previous installation of this port, if it exists. . The Diablo Caffe JDK. That is, the Diablo Caffe JDK is now the default bootstrapper in the absence of a previous installation of this port.
Notes
Notes: svn path=/head/; revision=88007
Diffstat (limited to 'java/jdk13')
-rw-r--r--java/jdk13/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile
index f55b1255723f..c6d781556c97 100644
--- a/java/jdk13/Makefile
+++ b/java/jdk13/Makefile
@@ -110,11 +110,14 @@ PLIST_SUB+= HOTSPOT:="@comment "
.include <bsd.port.pre.mk>
.if !defined(JDK13DIR)
-.if defined(WITH_LINUX_BOOTSTRAP) || !exists(${PREFIX}/jdk${JDK_VERSION}/bin/javac)
+.if defined(WITH_LINUX_BOOTSTRAP)
JDK13DIR= ${LOCALBASE}/linux-blackdown-jdk${JDK_VERSION}
BUILD_DEPENDS+= ${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-blackdown-jdk13
-.else
+.elif exists(${PREFIX}/jdk${JDK_VERSION}/bin/javac)
JDK13DIR= ${LOCALBASE}/jdk${JDK_VERSION}
+.else
+JDK13DIR= ${LOCALBASE}/diablo-jdk${JDK_VERSION}
+BUILD_DEPENDS+= ${JDK13DIR}/bin/javac:${PORTSDIR}/java/diablo-jdk13
.endif
.endif
@@ -193,7 +196,7 @@ post-patch:
.endif
.endif
-.if defined(WITH_LINUX_BOOTSTRAP) || !exists(${PREFIX}/jdk${JDK_VERSION}/bin/javac)
+.if defined(WITH_LINUX_BOOTSTRAP)
# Some checks for bootstrapping with a Linux JDK
pre-build:
@if [ `${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/check_wrkdir_links.sh "${WRKDIRPREFIX}" "${LINUXBASE}" 2>/dev/null` ]; \