From ffe0e3fb6998c776b08f725c53dfe6c632ce7d02 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 12 Aug 2010 18:42:08 -0700 Subject: [PATCH] Fix inverted logic in eapi_supports_prefix() call, which causes a regression such that ED, EPREFIX, and EROOT where not set in EAPI 3 ebuild environments (just for portage-9999 users). --- pym/portage/package/ebuild/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py index 2f2850ff2..a97dd33ac 100644 --- a/pym/portage/package/ebuild/config.py +++ b/pym/portage/package/ebuild/config.py @@ -2644,7 +2644,7 @@ class config(object): mydict.pop("AA", None) # Prefix variables are supported starting with EAPI 3. - if phase == 'depend' or eapi is None or eapi_supports_prefix(eapi): + if phase == 'depend' or eapi is None or not eapi_supports_prefix(eapi): mydict.pop("ED", None) mydict.pop("EPREFIX", None) mydict.pop("EROOT", None) -- 2.26.2