summaryrefslogtreecommitdiff
path: root/mk/defs.SunOS.mk
diff options
context:
space:
mode:
authorbouyer <bouyer>2002-10-27 18:27:11 +0000
committerbouyer <bouyer>2002-10-27 18:27:11 +0000
commit0e276e34be10338839b4a515a8881cec5999c5aa (patch)
tree1199baa2b2d749512ad74e6fb8becda47e435c8d /mk/defs.SunOS.mk
parentc841a5389f8ecc456ef01f3d1b1ee7ce1c65ac02 (diff)
downloadpkgsrc-0e276e34be10338839b4a515a8881cec5999c5aa.tar.gz
Use ${LOCALBASE}/bin/gtar if it exists.
Diffstat (limited to 'mk/defs.SunOS.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