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
MFC after: 1 week
This commit is contained in:
Enji Cooper 2014-12-08 18:29:20 +00:00
parent af1d915221
commit 46fe68cd1c

View File

@ -791,6 +791,11 @@ ITOOLS= [ awk cap_mkdb cat chflags chmod chown \
rm sed services_mkdb sh sysctl test true uname wc ${_zoneinfo} \
${LOCAL_ITOOLS}
# Needed for share/man
.if ${MK_MAN} != "no"
ITOOLS+=makewhatis
.endif
#
# distributeworld
#