Canary::Stability emits very vocal warnings about "unsupported" Perl versions
even if they're fine in reality. It's not worth scaring our users over.

See https://metacpan.org/pod/Canary::Stability#ENVIRONMENT-VARIABLES.

Signed-off-by: Sam James <s...@gentoo.org>
---
 eclass/perl-module.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 83f94865e0214..c9b690992f22d 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -220,6 +220,8 @@ perl-module_src_configure() {
        [[ -z ${pm_echovar} ]] && export PERL_MM_USE_DEFAULT=1
        # Disable ExtUtils::AutoInstall from prompting
        export PERL_EXTUTILS_AUTOINSTALL="--skipdeps"
+       # Noisy and not really appropriate to show to the user in a PM
+       export PERL_CANARY_STABILITY_DISABLE=1
 
        if [[ $(declare -p myconf 2>&-) != "declare -a myconf="* ]]; then
                local myconf_local=(${myconf})
-- 
2.42.0


Reply via email to