On Mon, 19 Jul 2010 20:24:40 +0000 (UTC), "Miroslav Sulc (fordfrog)"
<fordf...@gentoo.org> 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

Reply via email to