summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/depgraph.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 12f12d472..e90d273d1 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -5202,6 +5202,10 @@ class depgraph(object):
for dep_str in dep_strings:
affecting_use.update(extract_affecting_use(dep_str, atom))
+ #Don't show flags as 'affecting' if the user can't change them,
+ affecting_use.difference_update(node.root_config.settings.usemask, \
+ node.root_config.settings.useforce)
+
pkg_name = node.cpv
if affecting_use:
usedep = []