public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: gentoo-x86/profiles/prefix/darwin/macos/10.4/x86: make.defaults
       [not found] <20110213165340.5EA7E20065@flycatcher.gentoo.org>
@ 2011-02-13 19:43 ` Fabian Groffen
  2011-02-13 20:10   ` Arfrever Frehtes Taifersar Arahesis
  0 siblings, 1 reply; 3+ messages in thread
From: Fabian Groffen @ 2011-02-13 19:43 UTC (permalink / raw
  To: gentoo-dev

On 13-02-2011 16:53:40 +0000, Arfrever Frehtes Taifersar Arahesis wrote:
> arfrever    11/02/13 16:53:40
> 
> Modified: make.defaults
> Log:
>   Don't include ${USE} in the first assignment to USE in make.defaults files to avoid incorrect interactions between enabled and disabled flags in different files.

Is there any resource you can point me to where it explains more
carefully why and when this has changed?

> 1.2                  profiles/prefix/darwin/macos/10.4/x86/make.defaults
> -USE="${USE} mmx mmxext sse sse2"
> +USE="mmx mmxext sse sse2"


-- 
Fabian Groffen
Gentoo on a different level



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] Re: gentoo-x86/profiles/prefix/darwin/macos/10.4/x86: make.defaults
  2011-02-13 19:43 ` [gentoo-dev] Re: gentoo-x86/profiles/prefix/darwin/macos/10.4/x86: make.defaults Fabian Groffen
@ 2011-02-13 20:10   ` Arfrever Frehtes Taifersar Arahesis
  2011-02-13 20:31     ` Fabian Groffen
  0 siblings, 1 reply; 3+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis @ 2011-02-13 20:10 UTC (permalink / raw
  To: Gentoo Development

[-- Attachment #1: Type: Text/Plain, Size: 1495 bytes --]

2011-02-13 20:43:12 Fabian Groffen napisał(a):
> On 13-02-2011 16:53:40 +0000, Arfrever Frehtes Taifersar Arahesis wrote:
> > arfrever    11/02/13 16:53:40
> > 
> > Modified: make.defaults
> > Log:
> >   Don't include ${USE} in the first assignment to USE in make.defaults files to avoid incorrect interactions between enabled and disabled flags in different files.
> 
> Is there any resource you can point me to where it explains more
> carefully why and when this has changed?

PMS
5.2.4 make.defaults
"Variables to the right of the equals sign in the form ${foo} or $foo are recognised and expanded
from variables previously set in this or earlier make.defaults files."
5.3.1 Incremental Variables
"Incremental variables must stack between parent and child profiles in the following manner:
Beginning with the highest parent profile, tokenise the variable’s value based on whitespace and
concatenate the lists. Then, for any token T beginning with a hyphen, remove it and any previous
tokens whose value is equal to T with the hyphen removed, or, if T is equal to -*, remove all
previous values. Note that because of this treatment, the order of tokens in the final result is
arbitrary, not necessarily related to the order of tokens in any given profile. The following
variables must be treated in this fashion: 
  • USE 
  • USE_EXPAND 
  • USE_EXPAND_HIDDEN 
  • CONFIG_PROTECT 
  • CONFIG_PROTECT_MASK"

-- 
Arfrever Frehtes Taifersar Arahesis

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] Re: gentoo-x86/profiles/prefix/darwin/macos/10.4/x86: make.defaults
  2011-02-13 20:10   ` Arfrever Frehtes Taifersar Arahesis
@ 2011-02-13 20:31     ` Fabian Groffen
  0 siblings, 0 replies; 3+ messages in thread
From: Fabian Groffen @ 2011-02-13 20:31 UTC (permalink / raw
  To: gentoo-dev

On 13-02-2011 21:10:23 +0100, Arfrever Frehtes Taifersar Arahesis wrote:
> > Is there any resource you can point me to where it explains more
> > carefully why and when this has changed?
> 
> PMS
> 5.2.4 make.defaults
> 5.3.1 Incremental Variables

Ok, I clearly had missed that.  A long time ago I think we needed it in
order to have USE-flags retained.

Thanks


-- 
Fabian Groffen
Gentoo on a different level



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-13 20:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20110213165340.5EA7E20065@flycatcher.gentoo.org>
2011-02-13 19:43 ` [gentoo-dev] Re: gentoo-x86/profiles/prefix/darwin/macos/10.4/x86: make.defaults Fabian Groffen
2011-02-13 20:10   ` Arfrever Frehtes Taifersar Arahesis
2011-02-13 20:31     ` Fabian Groffen

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