The noman FEATURE does not work well. When packages are emerged with man FEATURE, and you change it to noman FEATURE, you have to reemerge all packages, portage doesnt know which packages exactly wthat need to be reemerged and which one not. Also the man-pages does not go away from the system set. When packages are emerged with man they can add dependency man-pages. Also this way the help2man package will be optional when man-pages FLAG is not set. Reproducible: Always
I don't think this is really going to work. As suggested before, use FEATURES=noman. You can lookup environment.bz2 in vardb to see if a package was built with FEATURES=noman or not. Manpage building dependencies are mostly small and hard to disable. I don't really think devs are going to hack upstream code just to avoid installing 15K script. If you really hate it, feel free to use package.provided. If you're going to insist on your idea, feel free to reopen and post to gentoo-dev about it but I am almost sure most of the devs will agree with me.
Hi, Is it not as simple as: RDEPEND="man ? ( man-pages )" src_install() { if use man; then doman ... fi }
(In reply to comment #2) > Is it not as simple as: No because mans are not installed solely via portage helpers, use "noman" as Michał suggested.