Missing /opt/local/share/man/whatis DB
Richard L. Hamilton
rlhamil at smart.net
Thu Jun 22 03:09:20 UTC 2017
And ideally, anything that installs (or removes) man pages from a man page directory should, after installing (or removing) the pages, run makewhatis, e.g.
to regenerate the index for that man page hierarchy.
That would (assuming /opt/local/share/man is in MANPATH or in /etc/manpaths or an /etc/manpaths.d file) allow "whatis" (or man -k) to find the pages.
It's not perfect; some man pages may not play nice with it. But if you don't run makewhatis, it definitely won't work.
> On Jun 21, 2017, at 22:48, Dave Horsfall <dave at horsfall.org> wrote:
> On Wed, 21 Jun 2017, Ryan Schmidt wrote:
>> Other developers may have other answers as to why MacPorts doesn't do
>> this, but for myself, the answer is that I'm not aware of makewhatis or
>> what it does.
> It's a basic Unix command; it rebuilds the manpage indices. Got to your
> favourite shell window and type "whatis man", for example.
> Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer."
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 842 bytes
Desc: Message signed with OpenPGP
More information about the macports-users