public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] New globally masked prefix USE flag
@ 2013-11-26  1:56 Ruud Koolen
  0 siblings, 0 replies; only message in thread
From: Ruud Koolen @ 2013-11-26  1:56 UTC (permalink / raw
  To: gentoo-dev

Ohai,

As part of the RAP project[1], a version of Gentoo Prefix that uses its own 
libc rather than relying on the host version, prefix needs some new profiles 
serving this variant. While this is entirely inconsequential for most 
packages, there are a handful of ebuilds that need to distinguish between the 
two prefix variants.

The chief difference between the two variants from the point of view of 
ebuilds is that in classic prefix, the host /usr/include is a valid include 
path (as it contains libc headers), whereas in RAP prefix it is not, and 
analogously so for library paths; this needs special handling for packages 
with build scripts that do their own exiting custom library searching, such 
as python, which needs to do certain prefix-specific hacks only for classic 
prefix and not for RAP. 

To this end, I'm introducing a globally masked USE flag, "prefix-guest", which 
is masked in the base profile and unmasked and forced in some prefix 
profiles; this flag indicates that /usr/include, /lib, and /usr/lib are valid 
paths despite being on a prefix system. This flag will be on in classic 
prefix, and off in prefix RAP.

I will proceed in a week, assuming no complaints arise.

-- Ruud

[1] 
http://blogs.gentoo.org/news/2013/11/01/gentoo-monthly-newsletter-31-october-2013/#RAP


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-26  1:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26  1:56 [gentoo-dev] New globally masked prefix USE flag Ruud Koolen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox