Subject: Re: enabling alternative patch program
To: Klaus Heinz <firstname.lastname@example.org>
From: Alistair Crooks <email@example.com>
Date: 12/15/2003 10:08:29
On Mon, Dec 15, 2003 at 02:27:56AM +0100, Klaus Heinz wrote:
> is it ok to do this?
> --- defs.NetBSD.mk 10 Dec 2003 13:37:48 -0000 1.56
> +++ defs.NetBSD.mk 15 Dec 2003 01:16:23 -0000
> -_PATCH_BACKUP_ARG= -V simple -b # switch to patch(1) for backup suffix
> +_PATCH_BACKUP_ARG?= -V simple -b # switch to patch(1) for backup suffix
> This enables me to use the following in my /etc/mk.conf:
> .if defined(USE_GPATCH) && !empty(USE_GPATCH:M[Yy][Ee][Ss])
> _PATCH_BACKUP_ARG=-b -V simple -z
> _PATCH_CAN_BACKUP= yes
> I find it convenient being able to use a different patch program to
> examine problems with patches.
Yes, this would be good to have.