summaryrefslogtreecommitdiffstats
path: root/pym/portage/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/__init__.py')
-rw-r--r--pym/portage/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 080093320..13462b97b 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -1282,9 +1282,11 @@ class config(object):
if self.profiles:
mygcfg_dlists = []
var_map = {}
+ expand_map = {}
for x in self.profiles:
var_map = getconfig(os.path.join(x, "make.defaults"),
- expand=var_map)
+ expand=expand_map)
+ expand_map.update(var_map)
mygcfg_dlists.append(var_map)
for cfg in mygcfg_dlists: