commit: bdd9c7748840b1f4eab86b8cf2de9d9239993613 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Mon May 7 20:34:48 2018 +0000 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Mon May 7 20:34:48 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdd9c774
profiles: declare Perl-related env variables in ENV_UNSET profiles/base/make.defaults | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults index cbc527e954e..2637f1943f9 100644 --- a/profiles/base/make.defaults +++ b/profiles/base/make.defaults @@ -32,7 +32,11 @@ CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" # XDG_* since the values coming from user environment can collide with # ebuild-set ${HOME} (e.g. by referring to user's home directory). # We exclude XDG_DATA_DIRS & XDG_CONFIG_DIRS as those are set in env.d. -ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" +# +# PERL_MM_OPT PERL5LIB PERL5OPT PERL_MB_OPT PERL_CORE PERLPREFIX: +# These are guaranteed to confuse perl module installation. Pre-EAPI7 +# the Perl eclasses bail out if they are set. Now we declare them here. +ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR PERL_MM_OPT PERL5LIB PERL5OPT PERL_MB_OPT PERL_CORE PERLPREFIX" # Variables that are set exclusively by the profile # and not by user configuration files.