Subject: gpatch on Solaris 6
To: None <tech-pkg@netbsd.org>
From: Jonathan Perkin <sketch@rd.bbc.co.uk>
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 defs.SunOS.mk, $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?

-- 
Jonathan Perkin - Internet Operations Engineer - BBC Internet Services
24x7 Hotline: +44 (0)1628 407 777 (x37777) - http://support.bbc.co.uk/