1 |
On Wed, 31 Jul 2019 21:40:19 +0100 |
2 |
James Le Cuirot <chewi@g.o> wrote: |
3 |
|
4 |
> So why does ROOT affect it? Normally you install the packages for |
5 |
> BDEPEND, DEPEND, and RDEPEND to the same location. If BDEPEND and |
6 |
> RDEPEND are installed to different locations (ROOT!=/) then DEPEND will |
7 |
> almost always be installed to one of the other two. If either of those |
8 |
> two locations is prefixed then we need the prefix for DEPEND's location |
9 |
> to match, otherwise it wouldn't actually be the same location. Using |
10 |
> ROOT allows us to figure this out automatically in a way that covers |
11 |
> all sensible use cases and avoids accidentally falling into an |
12 |
> unsupported case. |
13 |
|
14 |
Just to clarify this in the binpkg case, here you would normally |
15 |
install BDEPEND, DEPEND, and usually RDEPEND to / on your build |
16 |
machine. On your other machines, you usually only care about RDEPEND. |
17 |
If you care about BDEPEND and DEPEND too then you'll need to use the |
18 |
same prefix everywhere but that's nothing new. You'd be pretty crazy to |
19 |
use different prefixes in this kind of environment anyway. |
20 |
|
21 |
-- |
22 |
James Le Cuirot (chewi) |
23 |
Gentoo Linux Developer |