* [gentoo-dev] ebuild inheritance question
@ 2003-12-27 21:51 Caleb Tennis
2003-12-28 9:14 ` Mike Frysinger
0 siblings, 1 reply; 4+ messages in thread
From: Caleb Tennis @ 2003-12-27 21:51 UTC (permalink / raw
To: gentoo-dev
Hi,
In trying to track down some of the dependency problems/mess in the KDE stuff,
I come to you with a question:
How are DEPEND="" statements handled when inheriting an eclass? That is, if I
do this:
inherit blah
DEPEND="pkg1 pkg2"
How does the inheritance of blah have an effect on the DEPEND="". Does it
just overwrite it, does it append.. etc? Or is it "proper" to tack in a
DEPEND="$DEPEND pkg1 pkg2"? What about RDEPEND automagically getting DEPEND
values?
Sorry if this is stupidly obvious, but it's not addressed in the docs and
nobody has been able to answer the question thus far.
Thanks,
Caleb
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] ebuild inheritance question
2003-12-27 21:51 [gentoo-dev] ebuild inheritance question Caleb Tennis
@ 2003-12-28 9:14 ` Mike Frysinger
2003-12-29 8:06 ` [gentoo-dev] " Michael Sterrett -Mr. Bones.-
0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2003-12-28 9:14 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 942 bytes --]
On Saturday 27 December 2003 16:51, Caleb Tennis wrote:
> In trying to track down some of the dependency problems/mess in the KDE
> stuff, I come to you with a question:
> Sorry if this is stupidly obvious, but it's not addressed in the docs and
> nobody has been able to answer the question thus far.
it's not stupid nor is it really a 'someone screwed up big' ...
newXdepend has some history behind it but it seems you only care about the
now ... i think danamark will have some issues when he gets back but i hope
that it turns out well ...
the way dependencies work right now with respect to eclasses is pretty
simple ...
eclasses ALWAYS use newdepend, newrdepend, newpdepend, newcdepend ... they
should NEVER have DEPEND= or similar ...
flip side of the coin is that ebuilds should not be using the newXdepend, they
should be using DEPEND= ...
i think thats clear enough so i'll leave this alone ;)
-mike
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-dev] Re: ebuild inheritance question
2003-12-28 9:14 ` Mike Frysinger
@ 2003-12-29 8:06 ` Michael Sterrett -Mr. Bones.-
2003-12-29 13:02 ` Mike Frysinger
0 siblings, 1 reply; 4+ messages in thread
From: Michael Sterrett -Mr. Bones.- @ 2003-12-29 8:06 UTC (permalink / raw
To: Mike Frysinger; +Cc: gentoo-dev
On Sun, 28 Dec 2003, Mike Frysinger wrote:
> the way dependencies work right now with respect to eclasses is pretty
> simple ...
>
> eclasses ALWAYS use newdepend, newrdepend, newpdepend, newcdepend ... they
> should NEVER have DEPEND= or similar ...
> flip side of the coin is that ebuilds should not be using the newXdepend, they
> should be using DEPEND= ...
>
> i think thats clear enough so i'll leave this alone ;)
I don't think this is true. If you look at the existing eclasses you
can see a lot of DEPEND= in there.
Michael Sterrett
-Mr. Bones.-
mr_bones_@gentoo.org
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-dev] Re: ebuild inheritance question
2003-12-29 8:06 ` [gentoo-dev] " Michael Sterrett -Mr. Bones.-
@ 2003-12-29 13:02 ` Mike Frysinger
0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2003-12-29 13:02 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 274 bytes --]
On Monday 29 December 2003 03:06, Michael Sterrett -Mr. Bones.- wrote:
> I don't think this is true. If you look at the existing eclasses you
> can see a lot of DEPEND= in there.
thats because they havent been fixed ...
http://bugs.gentoo.org/show_bug.cgi?id=25013
-mike
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-12-29 13:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-27 21:51 [gentoo-dev] ebuild inheritance question Caleb Tennis
2003-12-28 9:14 ` Mike Frysinger
2003-12-29 8:06 ` [gentoo-dev] " Michael Sterrett -Mr. Bones.-
2003-12-29 13:02 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox