Bug 226036 - Issue when building makewhatis
Summary: Issue when building makewhatis
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.1-STABLE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
Depends on:
Reported: 2018-02-19 10:05 UTC by Sergey
Modified: 2018-02-19 12:55 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 2018-02-19 10:05:51 UTC
Please see code below:

.if ${MK_MANDOCDB} == "no"      # AND
SUBDIR.${MK_MAN_UTILS}+=        makewhatis -> here we don't build makewhatis as we have MK_MANDOCDB != 'no' which is WITHOUT_MANDOCDB == 'no'

# Needed for share/man
.if ${MK_MAN_UTILS} != "no"
ITOOLS+=makewhatis -> here we add makewhatis to ITOOLS array that should be copied to temporary directory

So when you have following string commented out

Following error appears:
Required tool makewhatis not found in PATH.
Comment 1 Sergey 2018-02-19 12:55:29 UTC
also if MK_MAN_UTILS is NO then manpath is not get built, but whereis binary will still get built, but doesn't function without manpath: 

$ whereis sh                                                                                                             
sh: manpath: not found