On Wed, May 8, 2013 at 12:06 PM, Chí-Thanh Christopher Nguyễn <chith...@gentoo.org> wrote: > Fabio Erculiani schrieb: >> Or perhaps all these man pages, I don't need man pages locally but >> still most ebuilds do install them. What do we do? > > Users who don't want them set FEATURES="noman". > >> Let's be serious here. > > I assure you that I am fully serious. > >>> Another option would be to add a "dounit" command to a future EAPI (like >>> doinitd today) and make portage install them unless FEATURES="nounit" >>> (like nodoc/noinfo/noman today). >> Why all this mess!? > > Please elaborate why you think that a "dounit" command is a mess. >
A working solution right now would be to set INSTALL_MASK="/usr/lib/systemd/*". If you want to formalize this into a portage feature, I have no objection. The problem with a helper function is that it would miss cases where the upstream build system actually installs the units.