Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33731 - Local use flag used globally
Summary: Local use flag used globally
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-17 23:53 UTC by Narada Sage
Modified: 2003-11-18 06:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Narada Sage 2003-11-17 23:53:49 UTC
Hello

An inconsistency in use flags is breaking my script.  The use flag nvidia although declared in use.local.desc is used in both media-tv/mythfrontend and media-tv/mythtv.

$ grep nvidia /usr/portage/profiles/use.local.desc 
<snip>
media-tv/mythfrontend:nvidia - Enable nVidia XvMC decoding support
media-tv/mythtv:nvidia - Enable nVidia XvMC decoding support

My understanding is that local use flag are local to a single package.  If used in more than one package a use flag is global.  May I ask that this use flag is moved to use.desc instead?  Please correct me if I'm wrong.

Many thanks.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-11-18 00:21:14 UTC
Nah, there's several local use flags that are used in a couple of ebuilds, but
that doesn't mean they have global appeal.
Comment 2 Narada Sage 2003-11-18 00:36:22 UTC
I see.  So what are the criteria for deciding whether use flags are local or global?  I am attempting to understand this better so I can adjust my script accordingly.
Comment 3 SpanKY gentoo-dev 2003-11-18 06:31:27 UTC
local means not global, thats all
just cause it's found in more than one package doesnt make it global

we put stuff in global as we see fit