On 19 February 2010 13:14, Ladislav Laska <[email protected]> wrote: > Removing this, only src_prepare in ebuild or in base.eclass > can be invoked, both of them will do just fine. > > Unfortunately, src_prepare is eapi=2 thing, so we have to migrate all > packages with patches to eapi 2, but this should not be a problem, > since i've seen someone is already doing that.
If you don't want to port all ebuilds to eapi-2, then you could use a workaround and call kde_src_prepare in kde_src_unpack() when eapi is 0 or 1. Some eclasses in the portage tree use this, see for example git.eclass. Cheers, -- Ben de Groot Gentoo Linux developer (qt, media, lxde, desktop-misc) ______________________________________________________
