Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [PREFIX] prefix keywords need to go (?)
Date: Wed, 25 Mar 2009 16:45:32
Message-Id: 20090325164527.GR12431@gentoo.org
In Reply to: Re: [gentoo-alt] [PREFIX] prefix keywords need to go (?) by Michael Haubenwallner
1 On 25-03-2009 17:16:17 +0100, Michael Haubenwallner wrote:
2 > On Wed, 2009-03-25 at 14:44 +0100, Fabian Groffen wrote:
3 >
4 > > If we would also change all ED into $D$EPREFIX inheriting prefix.eclass
5 > > would do the trick entirely and we could merge back.
6 >
7 > I missed the point here:
8 > Is this because D (and ED) might be unset during ebuild source-time, so
9 > setting ED in prefix.eclass' global scope will go wrong?
10 > If yes, then +1.
11
12 You can't expect $D to be available in depend phase/source time, so ED
13 will be wrong. I think especially Paludis will be strict in this, I was
14 told Portage just exports it, but that's luck.
15
16 See PMS, page 63. ROOT is actually also a problem since it is defined
17 only to be available in pkg_*. That leaves us with EPREFIX.
18
19
20 --
21 Fabian Groffen
22 Gentoo on a different level

Replies

Subject Author
Re: [gentoo-alt] [PREFIX] prefix keywords need to go (?) Fabian Groffen <grobian@g.o>