$ man -S3:2 open gives me open(3pm) Perl Programmers Reference Guide open(3pm) I.e. instead of open(2) I get open(3pm) even though I didn't request pages from section 3pm. This happens because the perl manpages are actually put in section 3, not 3pm: $ man -w 3 open /usr/share/man/man3/open.3pm.bz2 $ man -w 3pm open No entry for open in section 3pm of the manual This is very annoying because it breaks my C function manpage getter script; because open.3pm is in section 3, it is found before open(2). Proposed fix: install the perl manual pages into section 3pm. Additional feature request: Add a USE flag that doesn't install man pages for perl modules. If I really want those docs, I use perldoc anyway (not man). Reproducible: Always Steps to Reproduce: 1. emerge perl 2. man -S3:2 open Actual Results: open(3pm) Perl Programmers Reference Guide open(3pm) Expected Results: OPEN(2) Linux Programmer's Manual OPEN(2)
(In reply to comment #0) > install the perl manual pages into section 3pm. Err, that's not a valid MANSECT ATM; see /etc/man.conf. > Additional feature request: Add a USE flag that doesn't install man pages for > perl modules. If I really want those docs, I use perldoc anyway (not man). There's no use flag for manpages and there won't be any, that's what FEATURES=noman is for (or use INSTALL_MASK). Plus most perl modules install any manpages at all because of collisions.
*** Bug 199997 has been marked as a duplicate of this bug. ***