projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7606baa
)
Bug #331271 - Fix USE_EXPAND wildcards so that the USE="linguas_en_US
author
Zac Medico
<zmedico@gentoo.org>
Thu, 5 Aug 2010 23:02:25 +0000
(16:02 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 5 Aug 2010 23:02:25 +0000
(16:02 -0700)
-linguas_*" case is handled correctly.
pym/portage/package/ebuild/config.py
patch
|
blob
|
history
diff --git
a/pym/portage/package/ebuild/config.py
b/pym/portage/package/ebuild/config.py
index 7266a63661013b788356cc412b70d8deaab7e83b..bfff1cc442b5a8b9298b05ed36f5d4f2ba740d78 100644
(file)
--- a/
pym/portage/package/ebuild/config.py
+++ b/
pym/portage/package/ebuild/config.py
@@
-2292,6
+2292,12
@@
class config(object):
continue
if x[0] == "-":
+ if x[-2:] == '_*':
+ prefix = x[1:-1]
+ prefix_len = len(prefix)
+ myflags.difference_update(
+ [y for y in myflags if \
+ y[:prefix_len] == prefix])
myflags.discard(x[1:])
continue