On Saturday 30 September 2006 19:32, [EMAIL PROTECTED] wrote: > > I don't think the hooks are useful for that. > > i have been told to use these two: > post_src_unpack/pre_src_compile > (but dont know how). > > > Why not just copy the ebuild to > > an overlay and apply the patch in the ebuild in the overlay? > > basically because its tedious to make new ebuild for each new version for > a given package when i have some particular patch i always want to apply.
Hmm... Well, if you want to apply foo.patch on category/name all you really need to do should be something like: # mkdir -p /etc/portage/env/category && echo "post_src_unpack() { epatch /absolute/path/to/foo.patch }" >> /etc/portage/env/category/name -- Bo Andresen
pgpnmMnBNTXlt.pgp
Description: PGP signature