Hi, While working on an mdocml ebuild, I noticed that a call to `makewhatis' for mdocml or the corresponding `mandb' call for sys-apps/man-db does not create entries for gcc's or binutils' man pages. This is because the MANPATH environment is suppressed in ebuilds. I asked about this in #gentoo-dev-help, but did not get an answer as to why MANPATH is suppressed.
What's the best way to handle with this in ebuilds (and the corresponding cron.daily entries)? Sourcing /etc/profile seems like a terrible hack to me. For what it's worth, sys-apps/man-db does not alert the user that gcc and binutils (and /usr/local/share/man) will be missing from apropos entries. See also my mail on gentoo-user about this: https://archives.gentoo.org/gentoo-user/message/83293ea8876e5a8c80cfde4240d392c2 -- Wolfgang Mueller / vehk.de / GPG 0xc543cfce9465f573
signature.asc
Description: PGP signature