summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-09-04 23:58:20 +0000
committerZac Medico <zmedico@gentoo.org>2006-09-04 23:58:20 +0000
commit34172fca081063a4af798111efce6488caeca830 (patch)
treee746f1473e6a5a38cc6d5568364b85cb1bcf889f
parent86c96334c5282e19ab47c827d0585d0e34b2caa4 (diff)
downloadportage-34172fca081063a4af798111efce6488caeca830.tar.gz
portage-34172fca081063a4af798111efce6488caeca830.tar.bz2
portage-34172fca081063a4af798111efce6488caeca830.zip
Add an additional note about $ROOT and USE flag handling in dep_check.
svn path=/main/trunk/; revision=4407
-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())