commit:     317eaf7fa745c89f67a7d362b35c503f4d84c21c
Author:     Andreas K. Huettel (dilfridge) <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 28 21:20:07 2015 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Dec 19 13:17:08 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=317eaf7f

perl-module.eclass: Just go ahead when calling configure twice in EAPI=6

 eclass/perl-module.eclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index f380730..bc654a9 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

Reply via email to