For bug #142473, account for $ROOT when deciding if a package is part of world or...
authorZac Medico <zmedico@gentoo.org>
Wed, 27 Jun 2007 14:55:25 +0000 (14:55 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 27 Jun 2007 14:55:25 +0000 (14:55 -0000)
svn path=/main/branches/2.1.2/; revision=7060

bin/emerge

index ef1f2a2cf19cf53101485784cd46d57540d09cc0..b80cff9a7e386d90a2d19b0a6363bc2db14bd4b1 100755 (executable)
@@ -2733,7 +2733,7 @@ class depgraph:
                                        myoldbest=blue("["+myoldbest+"]")
 
                                pkg_cp = xs[0]
-                               pkg_world = pkg_cp in worldlist
+                               pkg_world = pkg_cp in worldlist and myroot == self.target_root
 
                                def pkgprint(pkg):
                                        if pkg_merge: