On 01-04-2009 05:30:01 +0000, Mike Frysinger wrote:
> If you have something you'd wish for us to chat about, maybe even
> vote on, let us know ! Simply reply to this e-mail for the whole
> Gentoo dev list to see.
I would like the council to discuss the addition of three variables to
EAPI3.
- EPREFIX
The offset prefix of a Gentoo Prefix installation. When Gentoo Prefix
is not used, ${EPREFIX} should be "".
This variable should be available everywhere.
- EROOT
The offset prefix appended to ${ROOT}, e.g. ${ROOT%/}${EPREFIX}/
This variable is available where ROOT is, following PMS: pkg_*
- ED
The offset prefix appended to ${D}, e.g. ${D%/}${EPREFIX}/
This variable is available where D is, following PMS: src_install
While the first variable (EPREFIX) can be set using an eclass, the
latter two need to be set by the package manager. In particular ED,
because the value of D might not be known. EROOT and ED are convenience
variables. Making them available already now, even though initialised
as ROOT and D respectively, allows Prefix enabled ebuilds to be shared
between gentoo-x86 and Prefix trees without modifications.
--
Fabian Groffen
Gentoo on a different level