diff options
-rw-r--r-- | pym/portage.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pym/portage.py b/pym/portage.py index b0505fba9..4bf3a9353 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1884,13 +1884,13 @@ class config: myflags = set(myflags) myflags.update(self.useforce) + # FEATURES=test should imply USE=test + if "test" in self.configlist[-1].get("FEATURES","").split(): + myflags.add("test") + usesplit = [ x for x in myflags if \ x not in self.usemask] - # FEATURES=test should imply USE=test - if "test" in self.configlist[-1]["FEATURES"] and not "test" in usesplit: - usesplit.append("test") - usesplit.sort() # Use the calculated USE flags to regenerate the USE_EXPAND flags so |