1 |
On Mon, 19 Jul 2010 20:24:40 +0000 (UTC), "Miroslav Sulc (fordfrog)" |
2 |
<fordfrog@g.o> wrote: |
3 |
> fordfrog 10/07/19 20:24:40 |
4 |
> |
5 |
> Modified: ChangeLog netbeans-6.9-r3.ebuild |
6 |
> Log: |
7 |
> netbeans-6.9-r3: added support for including custom patches when |
8 |
> building netbeans |
9 |
|
10 |
> + # Support for custom patches |
11 |
> + if [ -n "{NETBEANS_PATCHES_DIR}" -a -d "${NETBEANS_PATCHES_DIR}" ] ; then |
12 |
> + local files=`find "${NETBEANS_PATCHES_DIR}" -type f` |
13 |
> + |
14 |
> + if [ -n "${files}" ] ; then |
15 |
> + einfo "Applying custom patches:" |
16 |
> + |
17 |
> + for file in ${files} ; do |
18 |
> + epatch "${file}" |
19 |
> + done |
20 |
> + fi |
21 |
> + fi |
22 |
> + |
23 |
|
24 |
Miroslav, You just reinvented the wheel :) Any reason why epatch_user() |
25 |
from euitls.eclass doesn't work here? |
26 |
-Jeremy |