Trying to find RDEPEND issues here and I stumbled on this gem: DEPEND="${DEPEND} >=x11-libs/gtk+-2* >=dev-libs/glib-2* dev-util/pkgconfig dev-perl/extutils-depends dev-perl/extutils-pkgconfig xml? ( dev-perl/XML-Writer dev-perl/XML-Parser )" pkgconfig should probably be a DEPEND only, whereas gtk+ and glib+ seems to be RDEPEND so RDEPEND=" >=x11-libs/gtk+-2* >=dev-libs/glib-2 xml? ( dev-perl/XML-Writer dev-perl/XML-Parser )" DEPEND="${RDEPEND} dev-util/pkgconfig dev-perl/extutils-depends dev-perl/extutils-pkgconfig" if I've understood what extutils-depends/pkgconfig does.
I think the confusion, at least on my part, is the use/nature of RDEPEND and DEPEND. (yea, I resorted to man 5 for this answer) DEPEND is what is required for the app to build (and they were all valid), and RDEPEND for it to run, defaulting to DEPEND. I guess it was a misconception on my part as to how they differ in actual use, i.e. would the RDEPENDs get emerged properly before the main ebuild (naivete at its best Spider). Will clean this up and keep an eye out for similar mistakes in our outdated broilerplate schemes =:)
Yeah, thats a good rundown of it. In the Gnome builds we usually do it like this: RDEPEND="gnome-base/libgnome gnome-base/libgnomeui" DEPEND="${RDEPEND} dev-util/pkgconfig dev-util/intltool" To get the representation "right" in between them, but the two may vary widely so it isn't an absolute rule. As I don't really know what this perl package does, I'm not sure what to require here, how it depends on the different parts (pkgconfig fex) does it wrap it, or need it to build (to find other depends) or ... ?
Cleaned up in glib-perl and will keep an eye out for this in other ebuilds (too many in dev-perl to do a real housecleaning right now unfortunately). Thanks Spider! -mike