summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index ed03d6cf3..05b369578 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -3987,6 +3987,8 @@ def action_depclean(settings, trees, ldpath_mtimes,
try:
# Prefer live ebuild metadata when available.
aux_vals = portdb.aux_get(cpv, fakedb_auxkeys)
+ # SLOT always comes from the vardb, for multislot.
+ aux_vals[-1] = vardb.aux_get(cpv, ["SLOT"])[0]
live_ebuild = True
except KeyError:
aux_vals = vardb.aux_get(cpv, fakedb_auxkeys)