From: | dilfridge@g.o | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Cc: | "Andreas K. Huettel (dilfridge)" <dilfridge@g.o> | ||
Subject: | [gentoo-dev] [PATCH 03/15] perl-module.eclass: Just go ahead when calling configure twice in EAPI=6 | ||
Date: | Fri, 11 Dec 2015 21:04:08 | ||
Message-Id: | 1449867791-30513-3-git-send-email-dilfridge@gentoo.org | ||
In Reply to: | [gentoo-dev] [PATCH 01/15] perl-module.eclass: Allow EAPI=6, ban PERL_EXPORT_PHASE_FUNCTIONS there, simplify perl dependency by dilfridge@gentoo.org |
1 | From: "Andreas K. Huettel (dilfridge)" <dilfridge@g.o> |
2 | |
3 | --- |
4 | eclass/perl-module.eclass | 4 +++- |
5 | 1 file changed, 3 insertions(+), 1 deletion(-) |
6 | |
7 | diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass |
8 | index 78fa01d..734de11 100644 |
9 | --- a/eclass/perl-module.eclass |
10 | +++ b/eclass/perl-module.eclass |
11 | @@ -146,7 +146,9 @@ perl-module_src_prepare() { |
12 | perl-module_src_configure() { |
13 | debug-print-function $FUNCNAME "$@" |
14 | |
15 | - [[ ${SRC_PREP} = yes ]] && return 0 |
16 | + if [[ ${EAPI:-0} = 5 ]]; then |
17 | + [[ ${SRC_PREP} = yes ]] && return 0 |
18 | + fi |
19 | SRC_PREP="yes" |
20 | |
21 | perl_check_env |
22 | -- |
23 | 2.6.3 |
Subject | Author |
---|---|
Re: [gentoo-dev] [PATCH 03/15] perl-module.eclass: Just go ahead when calling configure twice in EAPI=6 | "Michał Górny" <mgorny@g.o> |