summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-12-22 02:22:01 +0000
committerngie <ngie@FreeBSD.org>2014-12-22 02:22:01 +0000
commitcf14b8acecaaedad50542bb18a5e1c34ebfd9aa4 (patch)
tree6ce7708da290c4a68961367a4e8b8fdcc03f36fd /Makefile.inc1
parent964f5a1f13d80db3d2b8ac8fe918abf3835ee7d0 (diff)
downloadFreeBSD-src-cf14b8acecaaedad50542bb18a5e1c34ebfd9aa4.zip
FreeBSD-src-cf14b8acecaaedad50542bb18a5e1c34ebfd9aa4.tar.gz
MFC r275622:
Add makewhatis to ITOOLS if MK_MAN != no This will fix installation with differing host targets in installworld, so one can build i386/i386 on an amd64 host, then install to an i386/i386 target Reported by: alfred Phabric: D1280
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc15
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index d3128e3..c5c51d2 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -782,6 +782,11 @@ ITOOLS= [ awk cap_mkdb cat chflags chmod chown \
rm sed sh sysctl test true uname wc ${_zoneinfo} \
${LOCAL_ITOOLS}
+# Needed for share/man
+.if ${MK_MAN} != "no"
+ITOOLS+=makewhatis
+.endif
+
#
# distributeworld
#
OpenPOWER on IntegriCloud