summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/perl-module.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index af5a0c9e3446..a012b16dce92 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -85,8 +85,8 @@ case ${EAPI:-0} in
;;
esac
- if [[ "${GENTOO_DEPEND_ON_PERL_SUBSLOT}" ]]; then
- eerror "GENTOO_DEPEND_ON_PERL_SUBSLOT is banned in EAPI=6. If you don't want a slot operator"
+ if [[ "${GENTOO_DEPEND_ON_PERL_SUBSLOT:-yes}" != "yes" ]]; then
+ eerror "GENTOO_DEPEND_ON_PERL_SUBSLOT=no is banned in EAPI=6. If you don't want a slot operator"
die "set GENTOO_DEPEND_ON_PERL=noslotop instead."
fi