Summary: | Allow checking whether a USE_EXPAND flag is set | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Donnie Berkholz (RETIRED) <dberkholz> |
Component: | Enhancement/Feature Requests | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | x11 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Adds extra USE flags if a specific USE EXPAND deal is EXPANDED |
Description
Donnie Berkholz (RETIRED)
2005-11-04 13:34:28 UTC
To clarify, the suggested USE flag to indicate that VIDEO_CARDS is set would be video_cards. If that seems too prone to conflict, it could be expand_video_cards, use_expand_video_cards, or whatever. Created attachment 72138 [details, diff]
Adds extra USE flags if a specific USE EXPAND deal is EXPANDED
Basically if something in use expand is expanded, add the USE_EXPAND string to
USE.
For example, if USE_EXPAND="VIDEO_CARDS" and VIDEO_CARDS="nvidia" then
USE will contain both "video_cards" and "video_cards_nvidia"
I'd rather not slip another use flag in here. Use a bash func that scans the contents of use looking for the USE_EXPAND prefix; why? A) it works _now_ B) we're not polluting the USE namespace any further C) we can rebind that function to something sane down the line, rather then the heavier scanning route. meh, my comments are strictly non metadata related- obviously doesn't fly in DEPEND. As discussed on irc use the fixed || () deps. |