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