summaryrefslogtreecommitdiff
path: root/java/jdk15
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2002-05-03 05:36:11 +0000
committerGreg Lewis <glewis@FreeBSD.org>2002-05-03 05:36:11 +0000
commit35dbc5bb82f2e0227c6080e39c2ea832df4eadec (patch)
tree777b3408882b687ba85f5a7394761ecbb789dcf0 /java/jdk15
parentReally fix the incompatibilities with gettext 0.11. The previous (diff)
Add a NATIVE_BOOTSTRAP knob which allows people to bootstrap with
an already installed native JDK rather than insisting on the hardcoded Sun Linux JDK as the bootstrapper. This also means that one can remove the Sun Linux JDK after the initial build if so desired. This may be superseded by a more general method of specifying the bootstrap compiler from bsd.java.mk at a later date. Reviewed by: sobomax Approved by: sobomax
Notes
Notes: svn path=/head/; revision=58483
Diffstat (limited to 'java/jdk15')
-rw-r--r--java/jdk15/Makefile4
1 files changed, 4 insertions, 0 deletions
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