diff options
author | dinoex <dinoex@FreeBSD.org> | 2006-01-07 17:33:41 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2006-01-07 17:33:41 +0800 |
commit | 5d2bfa68d31e072565f8478bda34a152d1f83a0f (patch) | |
tree | 12203ee05ab67541555c569d108b252e458eae6a /java | |
parent | d4fe2fdcf08943d2e6e080738fc577aa7ffbeddd (diff) | |
download | freebsd-ports-gnome-5d2bfa68d31e072565f8478bda34a152d1f83a0f.tar.gz freebsd-ports-gnome-5d2bfa68d31e072565f8478bda34a152d1f83a0f.tar.zst freebsd-ports-gnome-5d2bfa68d31e072565f8478bda34a152d1f83a0f.zip |
- fix build in JAILS
failed to build the jdk14 port in a jail under FreeBSD 5.4
FreeBSD 4.11 works.
The problem is that mount don't list the linprocfs,
and this make the selfcheck fail.
maintainer emailed:
So 6 Nov 2005 11:21:20 CET
Approved by: (maintainer timeout)
Diffstat (limited to 'java')
-rw-r--r-- | java/jdk14/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/jdk14/Makefile b/java/jdk14/Makefile index 7366be75027b..08b2090d1abb 100644 --- a/java/jdk14/Makefile +++ b/java/jdk14/Makefile @@ -262,6 +262,7 @@ pre-build-linuxcheck: ${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 have to have LINPROCFS mounted before" ; \ @@ -278,6 +279,7 @@ pre-build-linuxcheck: exit 1 ; \ fi .endif +.endif pre-build: pre-build-linuxcheck .if defined(WITH_OPENMOTIF_JDK) |