1 |
On 02.03.2012 15:35, Peter Stuge wrote: |
2 |
> Mike Frysinger wrote: |
3 |
>> if you capture all of the $PORTDIR/$CATEGORY/$PN/ and $A, then |
4 |
>> there should be no need to manually hook into epatch |
5 |
> |
6 |
> The point of hooking into epatch would be to only have exactly those |
7 |
> patches which get applied. Some ebuilds come with a huge set of |
8 |
> patches, but only few may be applied depending on USE and version. |
9 |
> It's nice to have just the right ones. |
10 |
|
11 |
epatch is not the only necessary thing, some ebuilds do 'sed -i' on |
12 |
files. I don't really know for autotools files. |
13 |
|
14 |
An extension about Mike mind can be an automagic diff between all |
15 |
SRC_URI freshly src_unpack(ed) and after install+distclean or after |
16 |
src_prepare. Assuming that not any other code is modified during |
17 |
src_(compile|install). |