summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 5f62fd7ae..233bf7ed1 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -3781,6 +3781,9 @@ class config(object):
mydict.pop("EPREFIX", None)
mydict.pop("EROOT", None)
+ if phase == 'depend':
+ mydict.pop('FILESDIR', None)
+
return mydict
def thirdpartymirrors(self):