summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/depgraph.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 50923bf3d..a8ed267e7 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -1015,6 +1015,8 @@ class depgraph(object):
edepend["DEPEND"] = ""
bdeps_root = "/"
+ if removal_action:
+ bdeps_root = myroot
root_deps = self._frozen_config.myopts.get("--root-deps")
if root_deps is not None:
if root_deps is True: