Include makewhatis in ITOOLS when MK_MAN_UTILS is true

Previously it was conditional on MK_MAN. It's possible to build
FreeBSD with man pages but without man page tools. MK_MAN_UTILS
is the conditional used in share/man/Makefile for determining whether
makewhatis is executed at install time, so it is the proper one for
ITOOLS as well.

PR:		210142
MFC after:	1 week
This commit is contained in:
emaste 2016-07-19 18:05:25 +00:00
parent f318deff8b
commit 3d705a5f8c

View File

@ -884,7 +884,7 @@ ITOOLS= [ awk cap_mkdb cat chflags chmod chown cmp cp \
${LOCAL_ITOOLS}
# Needed for share/man
.if ${MK_MAN} != "no"
.if ${MK_MAN_UTILS} != "no"
ITOOLS+=makewhatis
.endif