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

Replies

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