summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2002-10-27 18:27:11 +0000
committerbouyer <bouyer@pkgsrc.org>2002-10-27 18:27:11 +0000
commitd522c8743125299ff6785168ef159d12d697fd94 (patch)
tree1199baa2b2d749512ad74e6fb8becda47e435c8d /mk
parent7c04f88abc55df8e28da6772c96f2195e9298d1f (diff)
downloadpkgsrc-d522c8743125299ff6785168ef159d12d697fd94.tar.gz
Use ${LOCALBASE}/bin/gtar if it exists.
Diffstat (limited to 'mk')
-rw-r--r--mk/defs.SunOS.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk
index d204e45a5e3..63d2e394aa3 100644
--- a/mk/defs.SunOS.mk
+++ b/mk/defs.SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.SunOS.mk,v 1.32 2002/10/23 12:21:30 wiz Exp $
+# $NetBSD: defs.SunOS.mk,v 1.33 2002/10/27 18:27:11 bouyer Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -21,7 +21,11 @@ FILE_CMD?= /usr/bin/file
FIND?= /usr/bin/find
GMAKE?= ${LOCALBASE}/bin/gmake
GREP?= /usr/bin/grep
+.if exists(${LOCALBASE}/bin/gtar)
+GTAR?= ${LOCALBASE}/bin/gtar
+.else
GTAR?= ${ZOULARISBASE}/bin/tar
+.endif
.if exists(/usr/bin/gzip)
GUNZIP_CMD?= /usr/bin/gunzip -f
GZCAT?= /usr/bin/gzcat