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:
Ed Maste 2016-07-19 18:05:25 +00:00
parent df9330b50c
commit fe50ba0583

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