aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk15
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2006-08-02 02:30:37 +0800
committerglewis <glewis@FreeBSD.org>2006-08-02 02:30:37 +0800
commit85628ea0eba4c83327194217ee8dbd288e5fcb2f (patch)
tree4d7501357efdf9f9c963a9d1c7f44697c7969f85 /java/jdk15
parentcf48299693e5d72b42264aa604fab825e4266ca2 (diff)
downloadfreebsd-ports-gnome-85628ea0eba4c83327194217ee8dbd288e5fcb2f.tar.gz
freebsd-ports-gnome-85628ea0eba4c83327194217ee8dbd288e5fcb2f.tar.zst
freebsd-ports-gnome-85628ea0eba4c83327194217ee8dbd288e5fcb2f.zip
. Space out the arguments to OPTIONS with tabs rather than spaces.
. Add a JAIL which allows the port to be built in a jail. [1] Submitted by: anders@ [1]
Diffstat (limited to 'java/jdk15')
-rw-r--r--java/jdk15/Makefile11
1 files changed, 7 insertions, 4 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: