summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-14 03:35:40 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-14 03:35:40 +0000
commit4c37e971066766d8dc4a294e20b56cca33a23cb4 (patch)
tree76e97bd279d76f190392d3a3b3a76632bf4f8b69 /bin
parentcdbe8af09d8d3c38eb903b6703b6eb82cec9c1e4 (diff)
downloadportage-4c37e971066766d8dc4a294e20b56cca33a23cb4.tar.gz
portage-4c37e971066766d8dc4a294e20b56cca33a23cb4.tar.bz2
portage-4c37e971066766d8dc4a294e20b56cca33a23cb4.zip
For bug #151082, don't allow installed packages to inappropriately satisfy packages that have been explicitly requested as arguments.
svn path=/main/trunk/; revision=4678
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index d605d5ccc..cd03a3df7 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1187,7 +1187,8 @@ class depgraph:
matched_packages.append(
["ebuild", myroot, myeb, None])
- if not matched_packages:
+ if not matched_packages and \
+ not (arg and "selective" not in self.myparams):
"""Fall back to the installed package database. This is a
last resort because the metadata tends to diverge from that
of the ebuild in the tree."""