New ebuild for nicotine+-1.2.14 with upnp use flag (miniupnpc dep) Reproducible: Always Steps to Reproduce: Used https://bugs.gentoo.org/show_bug.cgi?id=273459 ase a base for miniupnpc ebuild.
Created attachment 207717 [details] miniupnpc 20091016
Created attachment 207718 [details] nicotine-1.2.14 ebuild with upnp use flag
I personally dislike adding USEflags for RDEPENDs only. This has the following disadvantages: 1) if one of these USEflags are changed, PM unnecessarily tries to rebuild the package, while the only required operation would be to adjust the deps; 2) the binary (.tbz2) packages built from the ebuild are bound to a specific USEflag configuration while in fact it doesn't matter, 3) the USEflags work similarly to automagic dependencies -- if a specific USE flag isn't set but the dependency is installed, the particular feature is used anyway. This is why I suggest to add a note of 'install the additional package for a feature' kind to pkg_postinst() instead. At least, until some new EAPI introduces a smarter kind of runtime-USE.
In 1.2.16 the dependencies are removed in favour of a pkg_postinst() message.