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, 12 insertions, 4 deletions
diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile
index aca08da79be..a6c683ac8c2 100644
--- a/java/jdk13/Makefile
+++ b/java/jdk13/Makefile
@@ -19,8 +19,10 @@ MAINTAINER= glewis@FreeBSD.org
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
zip:${PORTSDIR}/archivers/zip \
gtar:${PORTSDIR}/archivers/gtar \
- ${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-sun-jdk13 \
${X11BASE}/lib/libMrm.a:${PORTSDIR}/x11-toolkits/open-motif
+.if !defined(NATIVE_BOOTSTRAP)
+BUILD_DEPENDS+= ${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-sun-jdk13
+.endif
.if !defined(WITHOUT_PLUGIN)
BUILD_DEPENDS+= msgfmt:${PORTSDIR}/devel/gettext
LIB_DEPENDS= glib12.3:$(PORTSDIR)/devel/glib12 \
diff --git a/java/jdk14/Makefile b/java/jdk14/Makefile
index aca08da79be..a6c683ac8c2 100644
--- a/java/jdk14/Makefile
+++ b/java/jdk14/Makefile
@@ -19,8 +19,10 @@ MAINTAINER= glewis@FreeBSD.org
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
zip:${PORTSDIR}/archivers/zip \
gtar:${PORTSDIR}/archivers/gtar \
- ${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-sun-jdk13 \
${X11BASE}/lib/libMrm.a:${PORTSDIR}/x11-toolkits/open-motif
+.if !defined(NATIVE_BOOTSTRAP)
+BUILD_DEPENDS+= ${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-sun-jdk13
+.endif
.if !defined(WITHOUT_PLUGIN)
BUILD_DEPENDS+= msgfmt:${PORTSDIR}/devel/gettext
LIB_DEPENDS= glib12.3:$(PORTSDIR)/devel/glib12 \
diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile
index aca08da79be..a6c683ac8c2 100644
--- a/java/jdk15/Makefile
+++ b/java/jdk15/Makefile
@@ -19,8 +19,10 @@ MAINTAINER= glewis@FreeBSD.org
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
zip:${PORTSDIR}/archivers/zip \
gtar:${PORTSDIR}/archivers/gtar \
- ${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-sun-jdk13 \
${X11BASE}/lib/libMrm.a:${PORTSDIR}/x11-toolkits/open-motif
+.if !defined(NATIVE_BOOTSTRAP)
+BUILD_DEPENDS+= ${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-sun-jdk13
+.endif
.if !defined(WITHOUT_PLUGIN)
BUILD_DEPENDS+= msgfmt:${PORTSDIR}/devel/gettext
LIB_DEPENDS= glib12.3:$(PORTSDIR)/devel/glib12 \
diff --git a/java/jdk16/Makefile b/java/jdk16/Makefile
index aca08da79be..a6c683ac8c2 100644
--- a/java/jdk16/Makefile
+++ b/java/jdk16/Makefile
@@ -19,8 +19,10 @@ MAINTAINER= glewis@FreeBSD.org
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
zip:${PORTSDIR}/archivers/zip \
gtar:${PORTSDIR}/archivers/gtar \
- ${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-sun-jdk13 \
${X11BASE}/lib/libMrm.a:${PORTSDIR}/x11-toolkits/open-motif
+.if !defined(NATIVE_BOOTSTRAP)
+BUILD_DEPENDS+= ${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-sun-jdk13
+.endif
.if !defined(WITHOUT_PLUGIN)
BUILD_DEPENDS+= msgfmt:${PORTSDIR}/devel/gettext
LIB_DEPENDS= glib12.3:$(PORTSDIR)/devel/glib12 \