diff options
author | glewis <glewis@FreeBSD.org> | 2005-07-23 15:49:57 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2005-07-23 15:49:57 +0800 |
commit | e9eca6e897dd80f67f9c8e114e279fc23f42ff6e (patch) | |
tree | 0743ce9d230af7cd5b9a3c322ca387e216449ace /java/jdk12 | |
parent | 3ebe7eaf801d886d3edebdab297eb4d67298970d (diff) | |
download | freebsd-ports-graphics-e9eca6e897dd80f67f9c8e114e279fc23f42ff6e.tar.gz freebsd-ports-graphics-e9eca6e897dd80f67f9c8e114e279fc23f42ff6e.tar.zst freebsd-ports-graphics-e9eca6e897dd80f67f9c8e114e279fc23f42ff6e.zip |
. Default to bootstrapping with jbootstrap.
Diffstat (limited to 'java/jdk12')
-rw-r--r-- | java/jdk12/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/java/jdk12/Makefile b/java/jdk12/Makefile index 5b5fef45f83..ba416b27e19 100644 --- a/java/jdk12/Makefile +++ b/java/jdk12/Makefile @@ -51,7 +51,8 @@ MAKE_ENV= HAVE_DPS="no" \ _JDK11DIR="${JDK11DIR}" \ SYS_CFLAGS="${CFLAGS}" \ CLASSPATH="" \ - JAVA_COMPILER="" + JAVA_COMPILER="" \ + _JAVA_BOOTSTRAP_VERSION="1.2.2" ALL_TARGET= release-images PATCH_CMD= ${PATCH} -p1 < PLIST_SUB+= JDK_VERSION=${JDK_VERSION} @@ -70,11 +71,14 @@ PLIST_SUB+= DEBUG:="" .include <bsd.port.pre.mk> .if !defined(JDK12DIR) -.if defined(WITH_LINUX_BOOTSTRAP) || !exists(${PREFIX}/jdk${JDK_VERSION}/bin/javac) +.if defined(WITH_LINUX_BOOTSTRAP) JDK12DIR= ${LOCALBASE}/linux-blackdown-jdk${JDK_VERSION} BUILD_DEPENDS+= ${JDK12DIR}/bin/javac:${PORTSDIR}/java/linux-blackdown-jdk12 -.else +.elif exists(${LOCALBASE}/jdk${JDK_VERSION}/bin/javac) JDK12DIR= ${LOCALBASE}/jdk${JDK_VERSION} +.else +JDK12DIR= ${LOCALBASE}/jbootstrap +BUILD_DEPENDS+= ${JDK12DIR}/bin/javac:${PORTSDIR}/java/jbootstrap .endif .endif |