aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--java/jdk13/Makefile4
-rw-r--r--java/jdk14/Makefile4
-rw-r--r--java/jdk15/Makefile4
-rw-r--r--java/jdk16/Makefile4
4 files changed, 16 insertions, 0 deletions
diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile
index e4b5c43a114f..2eebfab76289 100644
--- a/java/jdk13/Makefile
+++ b/java/jdk13/Makefile
@@ -35,7 +35,11 @@ WRKSRC= ${WRKDIR}/j2sdk1.3.1/make
JDK_VERSION= 1.3.1
JDK_PATCHSET_VERSION= 6
+.if defined(NATIVE_BOOTSTRAP)
+JDK13DIR?= ${LOCALBASE}/jdk${JDK_VERSION}
+.else
JDK13DIR?= ${LOCALBASE}/linux-jdk${JDK_VERSION}
+.endif
ONLY_FOR_ARCHS= i386
USE_GMAKE= yes
diff --git a/java/jdk14/Makefile b/java/jdk14/Makefile
index e4b5c43a114f..2eebfab76289 100644
--- a/java/jdk14/Makefile
+++ b/java/jdk14/Makefile
@@ -35,7 +35,11 @@ WRKSRC= ${WRKDIR}/j2sdk1.3.1/make
JDK_VERSION= 1.3.1
JDK_PATCHSET_VERSION= 6
+.if defined(NATIVE_BOOTSTRAP)
+JDK13DIR?= ${LOCALBASE}/jdk${JDK_VERSION}
+.else
JDK13DIR?= ${LOCALBASE}/linux-jdk${JDK_VERSION}
+.endif
ONLY_FOR_ARCHS= i386
USE_GMAKE= yes
diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile
index e4b5c43a114f..2eebfab76289 100644
--- a/java/jdk15/Makefile
+++ b/java/jdk15/Makefile
@@ -35,7 +35,11 @@ WRKSRC= ${WRKDIR}/j2sdk1.3.1/make
JDK_VERSION= 1.3.1
JDK_PATCHSET_VERSION= 6
+.if defined(NATIVE_BOOTSTRAP)
+JDK13DIR?= ${LOCALBASE}/jdk${JDK_VERSION}
+.else
JDK13DIR?= ${LOCALBASE}/linux-jdk${JDK_VERSION}
+.endif
ONLY_FOR_ARCHS= i386
USE_GMAKE= yes
diff --git a/java/jdk16/Makefile b/java/jdk16/Makefile
index e4b5c43a114f..2eebfab76289 100644
--- a/java/jdk16/Makefile
+++ b/java/jdk16/Makefile
@@ -35,7 +35,11 @@ WRKSRC= ${WRKDIR}/j2sdk1.3.1/make
JDK_VERSION= 1.3.1
JDK_PATCHSET_VERSION= 6
+.if defined(NATIVE_BOOTSTRAP)
+JDK13DIR?= ${LOCALBASE}/jdk${JDK_VERSION}
+.else
JDK13DIR?= ${LOCALBASE}/linux-jdk${JDK_VERSION}
+.endif
ONLY_FOR_ARCHS= i386
USE_GMAKE= yes