summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index c9ad04a88..dee3005a5 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -3456,6 +3456,9 @@ def dep_check(depstring, mydbapi, mysettings, use="yes", mode=None, myuse=None,
# should have already been applied via config.regenerate(). Also,
# binary or installed packages may have been built with flags that
# are now masked, and it would be inconsistent to mask them now.
+ # Additionally, myuse may consist of flags from a parent package
+ # that is being merged to a $ROOT that is different from the one
+ # that mysettings represents.
mymasks.update(mysettings.usemask)
mymasks.update(mysettings.pusemask)
mymasks.update(mysettings.archlist())