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.

Reply via email to