Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Unified DEPENDENCIES concept
Date: Fri, 07 Sep 2012 17:35:34
Message-Id: 504A2F63.902@gentoo.org
In Reply to: Re: [gentoo-dev] Unified DEPENDENCIES concept by Ciaran McCreesh
1 On 09/07/2012 09:58 AM, Ciaran McCreesh wrote:
2 > On Fri, 07 Sep 2012 09:53:46 -0700
3 > Zac Medico <zmedico@g.o> wrote:
4 >> If you're insinuating that Portage may not have a
5 >> "fully-ROOT-and-/-aware resolver", then I can assure you that this is
6 >> not a problem.
7 >
8 > In that case, why do we need HDEPEND at all?
9
10 With existing EAPIs, it's possible to use DEPEND for host buildtime-only
11 deps, RDEPEND for target build+run deps, and PDEPEND for target
12 runtime-only deps. However, there's no way to to specify buildtime-only
13 target deps (that aren't needed at runtime). The HDEPEND proposal
14 involves solves this by using HDEPEND for host buildtime-only deps, and
15 DEPEND for target buildtime-only deps.
16 --
17 Thanks,
18 Zac