On 04/18/2012 10:41 AM, Ciaran McCreesh wrote:
On Wed, 18 Apr 2012 13:39:59 -0400
Mike Frysinger<vap...@gentoo.org> wrote:
i'm not sure splitting patches out of src_prepare into a dedicated
src_patch step would benefit that much. often times, you need to
mangle the code before/after patching.
Right. If we were going to take the EAPI route with this, the easiest
way would probably be to require that overridden src_prepare functions
call a magic function called "apply_user_patches_here" (and to barf if
a src_prepare finished without having called that function).
Also, maybe apply_user_patches_here should have a special return value
if there are no patches to be applied? That way, src_prepare can avoid
an eautoreconf call if there are no patches.
--
Thanks,
Zac