On Thu, 23 Nov 2017 17:12:37 -0800, Ian Zimmerman wrote: > Package P bypasses applying user patches (by not calling > default_src_prepare). I have patches I need to apply to P, and in this > case I really don't want to fork the ebuild. So, I'm hell bent on > doing it the hacky way with /etc/portage/bashrc (which, IIRC, I have > been told on this list not to do, but now I don't have much choice).
You do have a choice, use /etc/portage/env. here's one I have to patch a specific version of a package % cat env/app-cdr/cdrdao-1.2.3 post_src_unpack() { cd "${S}" epatch_user } You could also use post_src_prepare to apply the patch after any the ebuild effects. -- Neil Bothwick Found my .sig, it was in behind the cushion on the settee.
pgpA405yOIMcZ.pgp
Description: OpenPGP digital signature