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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303034

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