From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ObaPK-0002wR-Fx for garchives@archives.gentoo.org; Wed, 21 Jul 2010 14:36:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E6491E0AD2; Wed, 21 Jul 2010 14:36:14 +0000 (UTC) Received: from mail.jolexa.net (mail.jolexa.net [69.164.203.224]) by pigeon.gentoo.org (Postfix) with ESMTP id 5A923E0ADE for ; Wed, 21 Jul 2010 14:35:54 +0000 (UTC) Received: by mail.jolexa.net (Postfix, from userid 5001) id 8AD0A5C2CC; Wed, 21 Jul 2010 14:35:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.2.5-gr2 (2008-06-10) on helios.jolexa.net X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.2.5-gr2 Received: from mail.jolexa.net (localhost [127.0.0.1]) by mail.jolexa.net (Postfix) with ESMTP id 47A575C071; Wed, 21 Jul 2010 14:35:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Wed, 21 Jul 2010 09:35:53 -0500 From: Jeremy Olexa To: , Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-util/netbeans: ChangeLog netbeans-6.9-r3.ebuild In-Reply-To: <20100719202440.76AB22CF39@corvid.gentoo.org> References: <20100719202440.76AB22CF39@corvid.gentoo.org> Message-ID: X-Sender: darkside@gentoo.org User-Agent: Roundcube Webmail/0.4-trunk X-Archives-Salt: 31697a2c-a317-4a24-972d-80ef1b512f92 X-Archives-Hash: 8509ac0cf2993575f4799a0febc0be11 On Mon, 19 Jul 2010 20:24:40 +0000 (UTC), "Miroslav Sulc (fordfrog)" 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