Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Cc: Leho Kraav <leho@×××××.com>
Subject: Re: [gentoo-dev] epatch: splitting out common options from user-specific ones
Date: Fri, 20 Apr 2012 19:59:38
Message-Id: 201204201559.39849.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] epatch: splitting out common options from user-specific ones by Leho Kraav
1 On Friday 20 April 2012 15:38:19 Leho Kraav wrote:
2 > On Wednesday, April 18, 2012 9:10:02 PM UTC+3, Mike Frysinger wrote:
3 > > it isn't uncommon for people to want to force the patch (-p#) or fuzz
4 > > (-f#) level when applying specific patches. but it is unusual that they
5 > > want to kill off the extra options: -g0 -E --no-backup-if-mismatch. so
6 > > i'd like to split these off and improve the epatch API.
7 >
8 > LOL mike, i'm fighting with this thing at the very moment. there's a patch
9 > i received that has whitespace issues and i'd like to specify custom
10 > EPATCH_OPTS.
11 >
12 > i applied the patch to my eclass overlay, and einfo is showing that the new
13 > eclass is used.
14
15 i just committed it since no one responded. so sync up.
16
17 > $ EPATCH_OPTS="--ignore-whitespace" emerge -va pf-sources
18
19 that's not the intention. EPATCH_OPTS modification should be inside the
20 ebuild.
21 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies