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 1SLKr0-0000BI-8N for garchives@archives.gentoo.org; Fri, 20 Apr 2012 20:54:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B6EBE0A88; Fri, 20 Apr 2012 20:54:30 +0000 (UTC) Received: from smtp-out.neti.ee (smtp-out.neti.ee [194.126.126.43]) by pigeon.gentoo.org (Postfix) with ESMTP id B644CE09C9 for ; Fri, 20 Apr 2012 20:53:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vm-relay7.estpak.ee (Postfix) with ESMTP id 85416181 for ; Fri, 20 Apr 2012 23:53:47 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at vm-relay7.estpak.ee Received: from smtp-out.neti.ee ([127.0.0.1]) by localhost (vm-relay7.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X1M6JVuaokOW for ; Fri, 20 Apr 2012 23:53:45 +0300 (EEST) Received: from mail.neti.ee (neti-relayhost1.estpak.ee [88.196.174.198]) by vm-relay7.estpak.ee (Postfix) with ESMTP id 207EBDC for ; Fri, 20 Apr 2012 23:53:45 +0300 (EEST) Received-SPF: None (no SPF record) identity=mailfrom; client-ip=90.190.167.138; helo=mail.dataring.ee; envelope-from=leho@kraav.com; receiver=gentoo-dev@lists.gentoo.org X-SMTP-Auth-NETI-Businessmail: no Received: from mail.dataring.ee (138.167.190.90.dyn.estpak.ee [90.190.167.138]) by NETI-Relayhost1.estpak.ee (Postfix) with ESMTPS id 00CE8163 for ; Fri, 20 Apr 2012 23:53:44 +0300 (EEST) Message-ID: <4F91BEF8.7080409@kraav.com> Date: Fri, 20 Apr 2012 22:54:32 +0300 From: Leho Kraav User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120312 Thunderbird/11.0 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] epatch: splitting out common options from user-specific ones References: <25544530.1346.1334950699692.JavaMail.geo-discussion-forums@vbpz13> In-Reply-To: <25544530.1346.1334950699692.JavaMail.geo-discussion-forums@vbpz13> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 7d836f05-46e4-487b-b55d-4a10fe51e1ba X-Archives-Hash: 5520f9f6710053b17ed900ef1a482cea On Wednesday, April 18, 2012 9:10:02 PM UTC+3, Mike Frysinger wrote: > it isn't uncommon for people to want to force the patch (-p#) or fuzz (-f#) > level when applying specific patches. but it is unusual that they want to kill > off the extra options: -g0 -E --no-backup-if-mismatch. so i'd like to split > these off and improve the epatch API. LOL mike, i'm fighting with this thing at the very moment. there's a patch i received that has whitespace issues and i'd like to specify custom EPATCH_OPTS. i applied the patch to my eclass overlay, and einfo is showing that the new eclass is used. $ EPATCH_OPTS="--ignore-whitespace" emerge -va pf-sources isn't achieved though. if i do: 236 EPATCH_OPTS="${EPATCH_OPTS}" everything works as expected. do you mean "cmdline" as in only within ebuild? what's the optimal way here? i was desperately searching for PATCHCOMMAND in "man make.conf", but this definitely would do the job for me.