1 |
>>>>> On Tue, 17 Mar 2009, Ciaran McCreesh wrote: |
2 |
|
3 |
>> There are dozens of packages in app-emacs making use of this |
4 |
>> feature (most of them from before my time, so don't blame me ;-) ). |
5 |
>> Typically their source is a single compressed lisp file and |
6 |
>> everything takes place in WORKDIR. S is not needed because of the |
7 |
>> fallback. |
8 |
|
9 |
> S="${WORKDIR}" in global scope then. |
10 |
|
11 |
Yes, I don't doubt that the problem can be solved. ;-) Maybe we can |
12 |
assign S in src_unpack in one of our eclasses. |
13 |
|
14 |
> The fallback causes problems when there's a default src_install. |
15 |
> Having a default src_install means an ebuild with a dodgy tarball |
16 |
> but no functions is likely to make it all the way through past the |
17 |
> install; previously it would die on the custom-written src_install. |
18 |
|
19 |
I see. |
20 |
|
21 |
> Note that the wording is such that this will only matter for ebuilds |
22 |
> that install things. Blank ebuilds that install nothing will still |
23 |
> work. |
24 |
|
25 |
How can you know that before src_install? |
26 |
|
27 |
Ulrich |