summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-02-10 03:16:42 +0000
committerZac Medico <zmedico@gentoo.org>2008-02-10 03:16:42 +0000
commit01dd4040e25e5554184af5c3068e6af5256ea964 (patch)
tree032cbb23440bebc033fb8249e794a32d106a5f9f
parentPass the myparent parameter into _show_unsatisfied_dep() when (diff)
downloadportage-multirepo-01dd4040e25e5554184af5c3068e6af5256ea964.tar.gz
portage-multirepo-01dd4040e25e5554184af5c3068e6af5256ea964.tar.bz2
portage-multirepo-01dd4040e25e5554184af5c3068e6af5256ea964.zip
Fix CHOST masking logic wrt installed packages so that it's consistent
between visible() and get_masking_status(). (trunk r9324) svn path=/main/branches/2.1.2/; revision=9325
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 12e75635..51b1a56d 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1153,7 +1153,7 @@ def get_masking_status(pkg, pkgsettings, root_config):
pkg.cpv, metadata=pkg.metadata, settings=pkgsettings,
portdb=root_config.trees["porttree"].dbapi)
- if pkg.built and \
+ if pkg.built and not pkg.installed and \
pkg.metadata["CHOST"] != root_config.settings["CHOST"]:
mreasons.append("CHOST: %s" % \
pkg.metadata["CHOST"])