summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-02-10 03:14:44 +0000
committerZac Medico <zmedico@gentoo.org>2008-02-10 03:14:44 +0000
commit911d07295954de75346e3a5d2b7e12044232525e (patch)
treead86915cad6b551b5874d27e075b1c33663952d3
parentecab5921f953b89c854de17d385d76b8937dba7f (diff)
downloadportage-911d07295954de75346e3a5d2b7e12044232525e.tar.gz
portage-911d07295954de75346e3a5d2b7e12044232525e.tar.bz2
portage-911d07295954de75346e3a5d2b7e12044232525e.zip
Fix CHOST masking logic wrt installed packages so that it's consistent
between visible() and get_masking_status(). svn path=/main/trunk/; revision=9324
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index d285e9c84..105168870 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -1038,7 +1038,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"])