Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH autotools-multilib 1/2] Require EAPI=5 for working MULTILIB_USEDEPs.
Date: Mon, 21 Jan 2013 15:46:29
Message-Id: 1358782904-765-1-git-send-email-mgorny@gentoo.org
1 Long story short, PMS, portage, havoc and that stuff.
2
3 There's currently one in-tree eclass consumer and I have bumped it
4 to EAPI=5 (from 4) already.
5
6 ---
7 eclass/autotools-multilib.eclass | 3 ++-
8 1 file changed, 2 insertions(+), 1 deletion(-)
9
10 diff --git a/eclass/autotools-multilib.eclass b/eclass/autotools-multilib.eclass
11 index 024884d..b4af121 100644
12 --- a/eclass/autotools-multilib.eclass
13 +++ b/eclass/autotools-multilib.eclass
14 @@ -19,8 +19,9 @@
15 # enabled. Thus, it is impossible to use AUTOTOOLS_IN_SOURCE_BUILD with
16 # it.
17
18 +# EAPI=5 is required for meaningful MULTILIB_USEDEP.
19 case ${EAPI:-0} in
20 - 2|3|4) ;;
21 + 5) ;;
22 *) die "EAPI=${EAPI} is not supported" ;;
23 esac
24
25 --
26 1.8.1.1

Replies