Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: aballier@g.o
Subject: Re: [gentoo-dev] [PATCH] autotools-multilib: wrapper eclass for multilib builds.
Date: Mon, 24 Sep 2012 20:48:31
Message-Id: 20120924224733.134fa781@pomiocik.lan
In Reply to: Re: [gentoo-dev] [PATCH] autotools-multilib: wrapper eclass for multilib builds. by Alexis Ballier
1 On Mon, 24 Sep 2012 16:16:53 -0300
2 Alexis Ballier <aballier@g.o> wrote:
3
4 > On Mon, 24 Sep 2012 20:12:40 +0200
5 > Michał Górny <mgorny@g.o> wrote:
6 >
7 > > > > > > > > > to some extent, can't you do the same by unpacking
8 > > > > > > > > > twice to different $S and calling
9 > > > > > > > > > src_prepare/compile/install instead of their
10 > > > > > > > > > autotools-utils counterpart with tweaked $S so that it
11 > > > > > > > > > works with almost every ebuild ?
12 >
13 > [...]
14 >
15 > > Ebuilds don't offer me anything if I have to rewrite phase functions
16 > > anyway...
17 >
18 > what, in the above quote, makes you think you need to rewrite anything ?
19
20 1. If ebuild has phase functions, they override the eclass.
21 2. If eclass exports phase functions, they have no way of calling
22 'previous' eclass phase functions.
23
24 --
25 Best regards,
26 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies