For bug #155739, only check if a dep is in the args when myroot == self.target_root.
authorZac Medico <zmedico@gentoo.org>
Mon, 20 Nov 2006 07:38:38 +0000 (07:38 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 20 Nov 2006 07:38:38 +0000 (07:38 -0000)
svn path=/main/trunk/; revision=5105

bin/emerge

index a0a9c4aec14ffcd271ead71d2d394eac73a604c4..f20c5724be82ca790540143707b474dcd8471bfe 100755 (executable)
@@ -802,7 +802,7 @@ class depgraph:
                                self.blocker_parents.setdefault(
                                        " ".join(mybigkey), set()).add(myparent)
                        return 1
-               if not arg:
+               if not arg and myroot == self.target_root:
                        arg = portage.best_match_to_list(mykey, self.args_keys)
                # select the correct /var database that we'll be checking against
                vardbapi = self.trees[myroot]["vartree"].dbapi