From 85be8a2170d0a7e948ea1dcc7f8760fc0b63ba4a Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Sat, 16 Sep 2017 18:29:27 +1200 Subject: perl-functions.eclass: Make PERL_RESTRICT suspect in EAPI6 --- eclass/perl-functions.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/perl-functions.eclass b/eclass/perl-functions.eclass index 45d4da617..ee90324e2 100644 --- a/eclass/perl-functions.eclass +++ b/eclass/perl-functions.eclass @@ -706,7 +706,7 @@ perl_check_eapi() { if [[ ${EAPI:-0} == 5 ]]; then suspect_vars=( DIST_TEST DIST_VERSION DIST_NAME DIST_AUTHOR DIST_A_EXT DIST_A DIST_SECTION DIST_EXAMPLES ); else - suspect_vars=( MY_PN MY_PV MODULE_VERSION MY_P MODULE_A MODULE_A_EXT MODULE_AUTHOR MODULE_NAME SRC_TEST MODULE_SECTION ); + suspect_vars=( MY_PN MY_PV MODULE_VERSION MY_P MODULE_A MODULE_A_EXT MODULE_AUTHOR MODULE_NAME SRC_TEST MODULE_SECTION PERL_RESTRICT ); fi for i in "${suspect_vars[@]}"; do [[ -v $i ]] || continue; -- cgit v1.2.3-65-gdbad