Subject: gpatch on Solaris 6
To: None <>
From: Jonathan Perkin <>
List: tech-pkg
Date: 11/20/2002 14:03:28
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
PATCH?=         ${LOCALBASE}/bin/patch -b

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?

Jonathan Perkin - Internet Operations Engineer - BBC Internet Services
24x7 Hotline: +44 (0)1628 407 777 (x37777) -