diff options
author | 2017-09-16 18:29:27 +1200 | |
---|---|---|
committer | 2017-09-17 12:39:38 +1200 | |
commit | 85be8a2170d0a7e948ea1dcc7f8760fc0b63ba4a (patch) | |
tree | 74678e0f08e1cda0276cbcb1ed2b60c6b95ecfe5 | |
parent | perl-module.eclass: Reimplement src_test using perl_has_test_opt (diff) | |
download | perl-overlay-85be8a2170d0a7e948ea1dcc7f8760fc0b63ba4a.tar.gz perl-overlay-85be8a2170d0a7e948ea1dcc7f8760fc0b63ba4a.tar.bz2 perl-overlay-85be8a2170d0a7e948ea1dcc7f8760fc0b63ba4a.zip |
perl-functions.eclass: Make PERL_RESTRICT suspect in EAPI6
-rw-r--r-- | eclass/perl-functions.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
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; |