On Sun, 18 Jan 2009 13:21:55 +0200
Petteri Räty <betelge...@gentoo.org> wrote:
> One thing to note why it's bad to rely on it is that if you have an
> eclass setting RDEPEND then you are probably not getting what you
> wanted.

Actually, you do. If you have ebuild:

    DEPEND="from/ebuild"

and eclass:

    DEPEND="from/eclass"
    RDEPEND="also-from/eclass"

you end up with:

    DEPEND="from/ebuild from/eclass"
    RDEPEND="from/ebuild also-from/eclass"

It's been that way for several years now.

And yes, I'd really like to see this killed for EAPI 3. Ideally we'd go
with a single DEPENDENCIES variable with labels of some kind,
something like:

    DEPENDENCIES="
        build:
            foo/bar
        build+run:
            foo/baz
        post:
            foo/plugin"

which would make it much easier to start specifying dependencies for
use of ROOT properly in the future -- it'd just be new labels, not
zillions of new variables.

-- 
Ciaran McCreesh

Attachment: signature.asc
Description: PGP signature

Reply via email to