Gentoo Archives: gentoo-dev

From: Leho Kraav <leho@×××××.com>
To: linux.gentoo.dev@××××××××××××.com
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] epatch: splitting out common options from user-specific ones
Date: Fri, 20 Apr 2012 19:39:21
Message-Id: 25544530.1346.1334950699692.JavaMail.geo-discussion-forums@vbpz13
1 On Wednesday, April 18, 2012 9:10:02 PM UTC+3, Mike Frysinger wrote:
2 > it isn't uncommon for people to want to force the patch (-p#) or fuzz (-f#)
3 > level when applying specific patches. but it is unusual that they want to kill
4 > off the extra options: -g0 -E --no-backup-if-mismatch. so i'd like to split
5 > these off and improve the epatch API.
6
7 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.
8
9 i applied the patch to my eclass overlay, and einfo is showing that the new eclass is used.
10
11 $ EPATCH_OPTS="--ignore-whitespace" emerge -va pf-sources
12
13 isn't achieved though. 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".

Replies