summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2018-05-07 22:34:48 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2018-05-07 22:34:48 +0200
commitbdd9c7748840b1f4eab86b8cf2de9d9239993613 (patch)
treea0f6dd00509b34f67a2c7676208c7d57057b6017 /profiles/base
parentx11-misc/xflux: Fix manifest (diff)
downloadgentoo-bdd9c7748840b1f4eab86b8cf2de9d9239993613.tar.gz
gentoo-bdd9c7748840b1f4eab86b8cf2de9d9239993613.tar.bz2
gentoo-bdd9c7748840b1f4eab86b8cf2de9d9239993613.zip
profiles: declare Perl-related env variables in ENV_UNSET
Diffstat (limited to 'profiles/base')
-rw-r--r--profiles/base/make.defaults6
1 files changed, 5 insertions, 1 deletions
diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults
index cbc527e954e5..2637f1943f96 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.