Some of the utilities there are perl scripts, but quite a few aren't... given that you might want to have an embedded system without perl, it might be a good idea to have a perl USE flag and not install the perl scripts if it's disabled. Thanks! Diego
Created attachment 244805 [details, diff] Patch to moreutils-0.40.ebuild to add USE="+doc +perl" and supporting code Following the idea that an embedded system may want only pieces of this package, this patch adds USE=doc and USE=perl, both of which are switched on by default. When both are enabled, the ebuild should behave exactly as it was before my patch. With USE=-doc, the dependency on docbook is removed and the manual pages are not generated. With USE=-perl, the runtime dependency on Perl is removed and the perl scripts are not installed. In both cases, an einfo warns the user that they are getting less than the full package. You may want to change this to an elog if you are concerned that users will miss it in the package compilation output. Note that to remove perl as a build time dependency, you need both USE=-doc and USE=-perl, since a perl script is used to build the documentation. Tested configurations: - USE="-doc perl" => manual not built, scripts installed - USE="-doc -perl" => manual not built, scripts not installed
Thanks for the patch suggestions. I added both doc and perl USE flags to the latest version in the tree.