From 46fe68cd1c5d41ba73ba577793296d7232d36dda Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Mon, 8 Dec 2014 18:29:20 +0000 Subject: [PATCH] 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 --- Makefile.inc1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.inc1 b/Makefile.inc1 index c48c8cb0d2a7..c07cd5167cea 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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 #