From b30917b04ad4a4781b769f308c854c205822e2b8 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sat, 7 Jan 2006 09:33:41 +0000 Subject: [PATCH] - 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) --- java/jdk14/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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)