perl-module.eclass: Just go ahead when calling configure twice in EAPI=6
authorAndreas K. Huettel (dilfridge) <dilfridge@gentoo.org>
Sat, 28 Nov 2015 21:20:07 +0000 (22:20 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 19 Dec 2015 13:17:08 +0000 (14:17 +0100)
eclass/perl-module.eclass

index f380730d871c3834a43dc1e22800a0ec347875f7..bc654a915abca599c350d0d83a51f333cac6890b 100644 (file)
@@ -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