- 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)
This commit is contained in:
Dirk Meyer 2006-01-07 09:33:41 +00:00
parent 1921feff6c
commit b30917b04a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152981

View file

@ -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)