summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/perl-functions.eclass')
-rw-r--r--eclass/perl-functions.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/perl-functions.eclass b/eclass/perl-functions.eclass
index 6ae34f014..9dc54daf1 100644
--- a/eclass/perl-functions.eclass
+++ b/eclass/perl-functions.eclass
@@ -18,8 +18,10 @@
[[ ${CATEGORY} == "perl-core" ]] && inherit alternatives
case "${EAPI:-0}" in
- 5) ;;
- *) die "EAPI=${EAPI} is not supported by perl-functions.eclass"
+ 5|6)
+ ;;
+ *)
+ die "EAPI=${EAPI} is not supported by perl-functions.eclass"
;;
esac