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