aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--java/jdk15/Makefile11
-rw-r--r--java/jdk16/Makefile11
2 files changed, 14 insertions, 8 deletions
diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile
index 02583ae49adf..3c128298688c 100644
--- a/java/jdk15/Makefile
+++ b/java/jdk15/Makefile
@@ -23,14 +23,15 @@ BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
${X11BASE}/lib/libXm.so:${PORTSDIR}/x11-toolkits/open-motif
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
-OPTIONS= DEBUG "Enable debugging support" off \
- IPV6 "Enable IPv6 support" off
+OPTIONS= DEBUG "Enable debugging support" off \
+ IPV6 "Enable IPv6 support" off
.if ${MACHINE_ARCH} == "amd64"
WITHOUT_WEB= yes
.else
-OPTIONS+= WEB "Enable the browser plugin and Java Web Start" on
+OPTIONS+= WEB "Enable the browser plugin and Java Web Start" on
.endif
-OPTIONS+= POLICY "Install the Unlimited Strength Policy Files" off
+OPTIONS+= POLICY "Install the Unlimited Strength Policy Files" off \
+ JAIL "Port is being built within a jail" off
WANT_GNOME= yes
PKGINSTALL= ${WRKDIR}/pkg-install
@@ -264,6 +265,7 @@ pre-build:
${ECHO_MSG} "is known to cause problems during bootstrapping."; \
exit 1; \
fi
+.if defined(WITH_JAIL)#{
@if [ "`/sbin/mount | grep ^linprocfs`" = "" ]; \
then \
${ECHO_MSG} "ERROR: You must have LINPROCFS mounted before" ; \
@@ -279,6 +281,7 @@ pre-build:
${ECHO_MSG} "" ; \
exit 1 ; \
fi
+.endif#}
.endif
do-build:
diff --git a/java/jdk16/Makefile b/java/jdk16/Makefile
index 02583ae49adf..3c128298688c 100644
--- a/java/jdk16/Makefile
+++ b/java/jdk16/Makefile
@@ -23,14 +23,15 @@ BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
${X11BASE}/lib/libXm.so:${PORTSDIR}/x11-toolkits/open-motif
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
-OPTIONS= DEBUG "Enable debugging support" off \
- IPV6 "Enable IPv6 support" off
+OPTIONS= DEBUG "Enable debugging support" off \
+ IPV6 "Enable IPv6 support" off
.if ${MACHINE_ARCH} == "amd64"
WITHOUT_WEB= yes
.else
-OPTIONS+= WEB "Enable the browser plugin and Java Web Start" on
+OPTIONS+= WEB "Enable the browser plugin and Java Web Start" on
.endif
-OPTIONS+= POLICY "Install the Unlimited Strength Policy Files" off
+OPTIONS+= POLICY "Install the Unlimited Strength Policy Files" off \
+ JAIL "Port is being built within a jail" off
WANT_GNOME= yes
PKGINSTALL= ${WRKDIR}/pkg-install
@@ -264,6 +265,7 @@ pre-build:
${ECHO_MSG} "is known to cause problems during bootstrapping."; \
exit 1; \
fi
+.if defined(WITH_JAIL)#{
@if [ "`/sbin/mount | grep ^linprocfs`" = "" ]; \
then \
${ECHO_MSG} "ERROR: You must have LINPROCFS mounted before" ; \
@@ -279,6 +281,7 @@ pre-build:
${ECHO_MSG} "" ; \
exit 1 ; \
fi
+.endif#}
.endif
do-build: