summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r--eclass/perl-module.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index f380730d871..bc654a915ab 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -139,7 +139,9 @@ perl-module_src_prepare() {
perl-module_src_configure() {
debug-print-function $FUNCNAME "$@"
- [[ ${SRC_PREP} = yes ]] && return 0
+ if [[ ${EAPI:-0} == 5 && ${SRC_PREP} == yes ]]; then
+ return 0
+ fi
SRC_PREP="yes"
perl_check_env