Subject: Re: gpatch on Solaris 6
To: Jonathan Perkin <>
From: grant beattie <>
List: tech-pkg
Date: 11/21/2002 08:25:20
On Wed, Nov 20, 2002 at 02:03:28PM +0000, Jonathan Perkin wrote:

> Solaris 6 does not have /usr/bin/gpatch, so due to the following snippet
> from, $PATCH gets set to a (non-existant) patch.
> .if exists(/usr/bin/gpatch)
> PATCH?=         /usr/bin/gpatch -b
> .else
> PATCH?=         ${LOCALBASE}/bin/patch -b
> .endif
> For clean installs, this breaks on the first package which needs to
> apply pkgsrc patches.  I could of course install devel/patch manually
> each time on a new 2.6 machine, but is there a cleaner way to fix this
> for automatic dependancy?

Yes, this should be relatively simple to fix. I'll look at it shortly.