Summary: | non-incremental USE_EXPAND-ed variables should be allowed to increment explicitly | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | SpanKY <vapier> |
Component: | PMS/EAPI | Assignee: | PMS/EAPI <pms> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=530222 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
SpanKY
2015-02-25 23:43:41 UTC
(In reply to SpanKY from comment #0) > $ VIDEO_CARDS='a b -a' portageq envvar VIDEO_CARDS > Invalid '-' operator in non-incremental variable 'VIDEO_CARDS': '-a' > a b This behavior has changes since portage-2.2.15 (see bug 530222), but it only applies to make.defaults (so your environment override will fail). (In reply to SpanKY from comment #0) > the practical scenario would be something like: > x86/make.defaults:VIDEO_CARDS="nvidia nv nouveau ati r128 radeon vga" > x86/ati/make.defaults:VIDEO_CARDS="${VIDEO_CARDS} -nvidia -nv -nouveau" > x86/nvidia/make.defaults:VIDEO_CARDS="${VIDEO_CARDS} -ati -r128 -radeon" This works since portage-2.2.15 (see bug 530222). For compatibility with older portage, use the equivalent USE settings, like USE="-video_cards_ati". (In reply to Zac Medico from comment #1) thanks, we're still on 2.2.12. i'll see about upgrading to 2.2.17. before we punt the bug, is this spelled out in the PMS and i'm not seeing it ? |