Explicitly set the priority when a node is added to enforce merge order for blocker...
authorZac Medico <zmedico@gentoo.org>
Wed, 18 Oct 2006 11:35:17 +0000 (11:35 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 18 Oct 2006 11:35:17 +0000 (11:35 -0000)
svn path=/main/trunk/; revision=4752

bin/emerge

index d68d793bcd9e1b1ae2d48d94fc2915e04186752a..8f0d4510c0829ece36d6978bf4aeddc8249cdba5 100755 (executable)
@@ -1449,7 +1449,8 @@ class depgraph:
                                                        continue
                                                # Enforce correct merge order with a hard dep.
                                                node = self.pkg_node_map[pkg]
-                                               self.digraph.addnode(node, parent)
+                                               self.digraph.addnode(node, parent,
+                                                       priority=DepPriority(buildtime=True))
                                                """Count references to this blocker so that it can be
                                                invalidated after nodes referencing it have been merged."""
                                                self.blocker_digraph.addnode(node, blocker)