diff options
author | tron <tron> | 2001-01-17 20:46:57 +0000 |
---|---|---|
committer | tron <tron> | 2001-01-17 20:46:57 +0000 |
commit | 067180e09598c5d4d86336467aa5173a76f38ef2 (patch) | |
tree | 688d01acc053aff52c11d4bb264fb01ce16eacc7 /mk | |
parent | 2722aea501b0bf9b963f6aa3182b85311b876c4a (diff) | |
download | pkgsrc-067180e09598c5d4d86336467aa5173a76f38ef2.tar.gz |
Solaris 8 includes the GNU patch command as "/usr/bin/gpatch".
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 6 |
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 |