summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index e4f510976..41532406e 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1418,6 +1418,14 @@ class depgraph:
mylist = sysdict.keys()
+ newlist = []
+ for atom in mylist:
+ if portage.dep_getkey(atom).split("/")[-1] == "portage":
+ newlist.insert(0, atom)
+ else:
+ newlist.append(atom)
+ mylist = newlist
+
for mydep in mylist:
try:
if not self.select_dep(portage.root, mydep, raise_on_missing=True):