From 53c8b8c46ff9709202b53d7a3ad09b4a36db9829 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 17 Jan 2001 20:46:57 +0000 Subject: Solaris 8 includes the GNU patch command as "/usr/bin/gpatch". --- mk/bsd.pkg.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mk') diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 828f287d657..926138bd38f 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.643 2001/01/15 19:46:29 agc Exp $ +# $NetBSD: bsd.pkg.mk,v 1.644 2001/01/17 20:46:57 tron Exp $ # # This file is in the public domain. # @@ -546,7 +546,11 @@ LS?= /usr/bin/ls MKDIR?= /usr/bin/mkdir -p MTREE?= ${LOCALBASE}/bsd/bin/mtree MV?= /usr/bin/mv +.if exists(/usr/bin/gpatch) +PATCH?= /usr/bin/gpatch -b +.else PATCH?= ${LOCALBASE}/bin/patch -b +.endif PAX?= /bin/pax PKG_TOOLS_BIN?= ${LOCALBASE}/bsd/bin RM?= /usr/bin/rm -- cgit v1.2.3