Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o, dilfridge@g.o
Cc: "Andreas K. Huettel (dilfridge)" <dilfridge@g.o>
Subject: Re: [gentoo-dev] [PATCH 03/15] perl-module.eclass: Just go ahead when calling configure twice in EAPI=6
Date: Sat, 12 Dec 2015 11:50:46
Message-Id: 4E8FD08A-1BC4-4751-8D1D-C4F1CF546535@gentoo.org
In Reply to: [gentoo-dev] [PATCH 03/15] perl-module.eclass: Just go ahead when calling configure twice in EAPI=6 by dilfridge@gentoo.org
1 Dnia 11 grudnia 2015 22:02:59 CET, dilfridge@g.o napisał(a):
2 >From: "Andreas K. Huettel (dilfridge)" <dilfridge@g.o>
3 >
4 >---
5 > eclass/perl-module.eclass | 4 +++-
6 > 1 file changed, 3 insertions(+), 1 deletion(-)
7 >
8 >diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
9 >index 78fa01d..734de11 100644
10 >--- a/eclass/perl-module.eclass
11 >+++ b/eclass/perl-module.eclass
12 >@@ -146,7 +146,9 @@ perl-module_src_prepare() {
13 > perl-module_src_configure() {
14 > debug-print-function $FUNCNAME "$@"
15 >
16 >- [[ ${SRC_PREP} = yes ]] && return 0
17 >+ if [[ ${EAPI:-0} = 5 ]]; then
18 >+ [[ ${SRC_PREP} = yes ]] && return 0
19 >+ fi
20
21 Why not combine this into single [[ ]]?
22
23 > SRC_PREP="yes"
24 >
25 > perl_check_env
26
27 --
28 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies