Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-dev
| Navigation: |
|
Lists:
gentoo-dev:
< Prev
By Thread
Next >
< Prev
By Date
Next >
|
| Headers: |
|
To:
|
Jeremy Olexa <darkside@g.o>
|
|
From:
|
"Miroslav Ć ulc (fordfrog)" <fordfrog@g.o>
|
|
Subject:
|
Re: [gentoo-commits] gentoo-x86 commit in dev-util/netbeans: ChangeLog netbeans-6.9-r3.ebuild
|
|
Date:
|
Wed, 21 Jul 2010 17:18:25 +0200
|
|
Dne 21.7.2010 16:35, Jeremy Olexa napsal(a):
> On Mon, 19 Jul 2010 20:24:40 +0000 (UTC), "Miroslav Sulc (fordfrog)"
> <fordfrog@g.o> wrote:
>> fordfrog 10/07/19 20:24:40
>>
>> Modified: ChangeLog netbeans-6.9-r3.ebuild
>> Log:
>> netbeans-6.9-r3: added support for including custom patches when
>> building netbeans
>> + # Support for custom patches
>> + if [ -n "{NETBEANS_PATCHES_DIR}" -a -d "${NETBEANS_PATCHES_DIR}" ] ; then
>> + local files=`find "${NETBEANS_PATCHES_DIR}" -type f`
>> +
>> + if [ -n "${files}" ] ; then
>> + einfo "Applying custom patches:"
>> +
>> + for file in ${files} ; do
>> + epatch "${file}"
>> + done
>> + fi
>> + fi
>> +
> Miroslav, You just reinvented the wheel :) Any reason why epatch_user()
> from euitls.eclass doesn't work here?
> -Jeremy
y, i did not expect this function to exist, i only recall that i saw
some custom code for applying patches in some other ebuild few years
back when i needed to tweak some package, so did it the same way.
so this is called automatically for
/etc/portage/patches/<category>/(PF|P|PN) if i read the code right? i
also tried to search man pages for portage and emerge but there is
nothing about it (or i am blind) ... so this is undocumented feature? i
did not know about this cool feature till now.
m.
|
|