summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-05 02:18:36 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-05 02:18:36 -0700
commitf75ca67b8e00e9e24095ffff2dd31ed04c480b80 (patch)
tree875c68f340d069df6561f229a9159f2f399073d0
parent123ed0d72aee3ba2f46dfb7e9adbb0f6367e217a (diff)
downloadportage-f75ca67b8e00e9e24095ffff2dd31ed04c480b80.tar.gz
portage-f75ca67b8e00e9e24095ffff2dd31ed04c480b80.tar.bz2
portage-f75ca67b8e00e9e24095ffff2dd31ed04c480b80.zip
Fix depgraph._wrapped_select_pkg_highest_available_imp() to check
USE settings for installed packages when --newuse is enabled.
-rw-r--r--pym/_emerge/depgraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 5f406c878..3cbd182ca 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2787,7 +2787,7 @@ class depgraph(object):
break
# Compare built package to current config and
# reject the built package if necessary.
- if built and not installed and \
+ if built and (not installed or matched_packages) and \
("--newuse" in self._frozen_config.myopts or \
"--reinstall" in self._frozen_config.myopts or \
"--binpkg-respect-use" in self._frozen_config.myopts):