Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424
Date: Mon, 20 Mar 2017 21:14:58
Message-Id: 20170320221443.7bf9c860@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424 by Ulrich Mueller
1 On Mon, 20 Mar 2017 20:25:52 +0100
2 Ulrich Mueller <ulm@g.o> wrote:
3
4 > >>>>> On Mon, 20 Mar 2017, Alexis Ballier wrote:
5 >
6 > > What makes me wonder more are the proposed solutions: So far the
7 > > only proposals I've seen are either inlining *all* the code or
8 > > moving *all* the code into an eclass. Having a quick look at
9 > > autoconf, it seems to me an intermediate solution would work
10 > > perfectly fine for the above goals/rules: Put main.eblit into an
11 > > eclass. The loading code then would access $FILESDIR only in src_*
12 > > phases. This would likely work better for all parties and would
13 > > allow to focus on better specifying this gray area of PMS instead.
14 >
15 > But is it desirable as a goal, that all packages in the tree use
16 > regular eclasses, but two packages (autoconf and glibc) use something
17 > else that is a "grey area"?
18
19 No. Unless I've missed something, in which case please point it out,
20 main.eblit is generic enough to be an eclass and if called only from
21 src_* phases, it gets the whole thing out of this grey area.