Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Proposed change to base.eclass: EAPI-2 support
Date: Mon, 03 Nov 2008 04:49:59
Message-Id: 20081103044957.GB3372@comet
In Reply to: [gentoo-dev] Proposed change to base.eclass: EAPI-2 support by Peter Alfredsen
1 On 00:08 Mon 03 Nov , Peter Alfredsen wrote:
2 > +case "${EAPI}" in
3 > + 2)
4 > + EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install
5 > + ;;
6 > + *)
7 > + EXPORT_FUNCTIONS src_unpack src_compile src_install
8 > + ;;
9 > +esac
10 > +
11
12 This eclass needs to do the same thing as the other eclasses that got
13 EAPI=2 patches and default EAPI to 0 when it's not defined, everywhere
14 where it tests the value of EAPI.
15
16 --
17 Thanks,
18 Donnie
19
20 Donnie Berkholz
21 Developer, Gentoo Linux
22 Blog: http://dberkholz.wordpress.com

Replies