From: Zac Medico Date: Sun, 10 Dec 2006 10:59:50 +0000 (-0000) Subject: Make sure the SLOT comes from the vardb instead of the portdb (for multislot, etc... X-Git-Tag: v2.1.2~328 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dff4051eca3e44061a9e22f11e67068b26293615;p=portage.git Make sure the SLOT comes from the vardb instead of the portdb (for multislot, etc..). Thanks to jakub for reporting. svn path=/main/trunk/; revision=5256 --- 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)