diff options
author | glewis <glewis@FreeBSD.org> | 2003-08-30 05:12:18 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2003-08-30 05:12:18 +0800 |
commit | 65a20f7e315d1ee311758597c397b0bb77aef7db (patch) | |
tree | 3ba120e42eef3b3304193f71d79e88b75a5810d5 /java/jdk13 | |
parent | cf41ae4d25b09b6e815c3a687c6cf36e808f4073 (diff) | |
download | freebsd-ports-gnome-65a20f7e315d1ee311758597c397b0bb77aef7db.tar.gz freebsd-ports-gnome-65a20f7e315d1ee311758597c397b0bb77aef7db.tar.zst freebsd-ports-gnome-65a20f7e315d1ee311758597c397b0bb77aef7db.zip |
. 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.
Diffstat (limited to 'java/jdk13')
-rw-r--r-- | java/jdk13/Makefile | 9 |
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` ]; \ |