diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2005-07-23 07:49:57 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2005-07-23 07:49:57 +0000 |
commit | b9c205f18de2833e11c8a360e8241058605faf25 (patch) | |
tree | c2900e57555742634fe282026c5b584cdb386e05 /java/jdk12/Makefile | |
parent | b075f4b0d07b1f3114c204893be30ff7dcbb6b1d (diff) | |
download | ports-b9c205f18de2833e11c8a360e8241058605faf25.tar.gz ports-b9c205f18de2833e11c8a360e8241058605faf25.zip |
Notes
Diffstat (limited to 'java/jdk12/Makefile')
-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 5b5fef45f83f..ba416b27e196 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 |