Created attachment 467758 [details, diff] Make perl scripts depend on perl USE flag app-admin/sysklogd unconditionally installs some helper perl scripts derived from the debian patch set, which in turn makes it depend on perl. Working on some minimal system installs, I realized I have never used those perl scripts, and wouldn't miss them. Attached is a patch that adds IUSE=+perl, and makes the dependency and deployment of those scripts conditional on USE=perl. This would preserve the current behavior for most people, but give the option to specify -perl for sysklogd.
We have a policy against adding USE flags to control the installation of small text files like this. For the record, these 2 scripts are <4kB each.
(In reply to Ben Kohler from comment #1) > We have a policy against adding USE flags to control the installation of > small text files like this. > > For the record, these 2 scripts are <4kB each. Hm. In my case my goal was to get rid of the unconditional RDEPEND on dev-lang/perl, which is quite a bit more than 4kb. Probably obsolete anyway as sysklogd-2.x is in the tree now (although only ~ so far) and it drops the perl scripts. It also breaks working setups in other ways so I've masked it locally, but that's another matter...