summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbouyer <bouyer>2002-10-27 18:27:11 +0000
committerbouyer <bouyer>2002-10-27 18:27:11 +0000
commit9504aad6d89a4587f0a693f1f0485283a3b81cc7 (patch)
tree1199baa2b2d749512ad74e6fb8becda47e435c8d
parent8224d933ecfb70d33812a4945a54b1cf03dd4d9d (diff)
downloadpkgsrc-9504aad6d89a4587f0a693f1f0485283a3b81cc7.tar.gz
Use ${LOCALBASE}/bin/gtar if it exists.
-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