summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/depgraph.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 8349bb55e..c3e180faf 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2538,8 +2538,7 @@ class depgraph(object):
if atom.use:
missing_iuse = False
for x in atom.use.required:
- if x not in pkg.iuse.all and \
- pkg.root_config.settings._iuse_implicit_re.match(x) is None:
+ if not pkg.iuse.is_valid_flag(x):
missing_iuse = True
break
if missing_iuse: