summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2009-03-13 10:09:08 +0000
committerru <ru@FreeBSD.org>2009-03-13 10:09:08 +0000
commitd09496ec68862000a4b48d8e6f4ebaf2c8e3b903 (patch)
tree754a6aa8e6d5b993883946d923e541f102410d18 /Makefile.inc1
parent9bf35b3af83c3a8eb09ad9871042bdeef50e77cb (diff)
downloadFreeBSD-src-d09496ec68862000a4b48d8e6f4ebaf2c8e3b903.zip
FreeBSD-src-d09496ec68862000a4b48d8e6f4ebaf2c8e3b903.tar.gz
Don't put "install-info" to the list of install-tools if we're
installing with -DWITHOUT_INFO, otherwise one can experience a failure trying to installworld on a system that is built with -DWITHOUT_INFO (i.e., without /usr/bin/install-info). Reported by: bland MFC after: 3 days
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc16
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 53471d0..a74db4b 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -612,8 +612,12 @@ installcheck_UGID:
#
# Required install tools to be saved in a scratch dir for safety.
#
+.if ${MK_INFO} != "no"
+_install-info= install-info
+.endif
+
ITOOLS= [ awk cap_mkdb cat chflags chmod chown \
- date echo egrep find grep install-info \
+ date echo egrep find grep ${_install-info} \
ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl \
test true uname wc zic
OpenPOWER on IntegriCloud