summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-01-17 20:46:57 +0000
committertron <tron@pkgsrc.org>2001-01-17 20:46:57 +0000
commit53c8b8c46ff9709202b53d7a3ad09b4a36db9829 (patch)
tree688d01acc053aff52c11d4bb264fb01ce16eacc7 /mk
parentb9b23a041edaa49c302b926f5646e04dfbde53ff (diff)
downloadpkgsrc-53c8b8c46ff9709202b53d7a3ad09b4a36db9829.tar.gz
Solaris 8 includes the GNU patch command as "/usr/bin/gpatch".
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 5 insertions, 1 deletions
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