1 |
This can be useful for making settings, such as PKGDIR, relative |
2 |
to PORTAGE_CONFIGROOT. |
3 |
|
4 |
X-Gentoo-Bug: 511806 |
5 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=511806 |
6 |
--- |
7 |
pym/portage/package/ebuild/config.py | 1 + |
8 |
1 file changed, 1 insertion(+) |
9 |
|
10 |
diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py |
11 |
index 71fe4df..3c0018f 100644 |
12 |
--- a/pym/portage/package/ebuild/config.py |
13 |
+++ b/pym/portage/package/ebuild/config.py |
14 |
@@ -394,6 +394,7 @@ class config(object): |
15 |
|
16 |
# Allow make.globals to set default paths relative to ${EPREFIX}. |
17 |
expand_map["EPREFIX"] = eprefix |
18 |
+ expand_map["PORTAGE_CONFIGROOT"] = config_root |
19 |
|
20 |
if portage._not_installed: |
21 |
make_globals_path = os.path.join(PORTAGE_BASE_PATH, "cnf", "make.globals") |
22 |
-- |
23 |
2.0.5 |