1 |
Edward Catmur <ed@×××××××××.uk> wrote: |
2 |
> On Fri, 2006-04-28 at 14:01 -0700, Drake Wyrm wrote: |
3 |
> > You shouldn't need to completely override src_compile for just that. All |
4 |
> > you'd need to do is set EXTRA_ECONF appropriately. |
5 |
> No, EXTRA_ECONF is for end-users to add their own cracktastic configure |
6 |
> flags. Ebuilds should not set it. |
7 |
|
8 |
ebuild(5): |
9 |
HELPER FUNCTIONS: COMPILE |
10 |
econf [configure options] |
11 |
[snip] |
12 |
Note that the EXTRA_ECONF is for users only, not for |
13 |
ebuild writers. If you wish to pass more options to |
14 |
configure, just pass the extra arguements to econf. |
15 |
|
16 |
I stand corrected. Might it be acceptable, though, to set it with |
17 |
something like |
18 |
|
19 |
EXTRA_ECONF="--enable-wombats $EXTRA_ECONF" |
20 |
|
21 |
in the ebuild? That would still allow the users to set their own flags. |
22 |
|
23 |
-- |
24 |
Human beings, who are almost unique in having the ability |
25 |
to learn from the experience of others, are also |
26 |
remarkable for their apparent disinclination to do so. |
27 |
-- Douglas Adams |