diff options
-rw-r--r-- | pym/portage.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py index fb7679d59..d10bf54a3 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6601,6 +6601,9 @@ def pkgmerge(mytbz2, myroot, mysettings, mydbapi=None, vartree=None, prev_mtimes origdir=getcwd() os.chdir(pkgloc) + # Need slot for slot-based collision detection. + mysettings["SLOT"] = xptbz2.getfile("SLOT").strip() + mysettings.configdict["pkg"]["CATEGORY"] = mycat; # Eventually we'd like to pass in the saved ebuild env here. # Do cleanup=1 to ensure that there is no cruft prior to the setup phase. |