summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-03-21 21:47:28 +0000
committerZac Medico <zmedico@gentoo.org>2010-03-21 21:47:28 +0000
commit7b937df68d695f437ee2c28d0606acdd97a283a3 (patch)
tree4c50fb46d669bdc6f0c76c632dc86665251e33d9
parenta55c1f30f05202f6cbf04c8748b3c615b7ad7306 (diff)
downloadportage-7b937df68d695f437ee2c28d0606acdd97a283a3.tar.gz
portage-7b937df68d695f437ee2c28d0606acdd97a283a3.tar.bz2
portage-7b937df68d695f437ee2c28d0606acdd97a283a3.zip
Show masking reasons for --binpkg-respect-use. Thanks to Sebastian Luther
(few) for this patch. svn path=/main/trunk/; revision=15840
-rw-r--r--pym/_emerge/depgraph.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 2470e6a0d..99fce457b 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2180,6 +2180,8 @@ class depgraph(object):
missing_use.append(pkg)
if not mreasons:
continue
+ if pkg.built and not mreasons:
+ mreasons = ["use flag configuration mismatch"]
masked_packages.append(
(root_config, pkgsettings, cpv, metadata, mreasons))