summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2022-01-09 17:36:52 +0000
committertnn <tnn@pkgsrc.org>2022-01-09 17:36:52 +0000
commit724d392e06c42e648d454122a3a296e75cbadc92 (patch)
treef96830645610cafd2aff312b980e70c7677a50c3 /mk
parentf2ce12d36947ebcdbedb6c36014effc85393ec88 (diff)
downloadpkgsrc-724d392e06c42e648d454122a3a296e75cbadc92.tar.gz
SunOS: add native tool paths for xz & xzcat
Spotted on OpenIndiana, provided by compress/xz pkg
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/tools.SunOS.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/tools/tools.SunOS.mk b/mk/tools/tools.SunOS.mk
index efaff4b11c2..76eab79a558 100644
--- a/mk/tools/tools.SunOS.mk
+++ b/mk/tools/tools.SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.SunOS.mk,v 1.51 2020/12/09 01:24:24 gutteridge Exp $
+# $NetBSD: tools.SunOS.mk,v 1.52 2022/01/09 17:36:52 tnn Exp $
#
# System-supplied tools for the Solaris operating system.
#
@@ -215,6 +215,12 @@ TOOLS_PLATFORM.unzip?= /usr/bin/unzip
.endif
TOOLS_PLATFORM.wc?= /usr/bin/wc
TOOLS_PLATFORM.xargs?= /usr/bin/xargs
+.if exists(/usr/bin/xz)
+TOOLS_PLATFORM.xz?= /usr/bin/xz
+.endif
+.if exists(/usr/bin/xzcat)
+TOOLS_PLATFORM.xzcat?= /usr/bin/xzcat
+.endif
.if exists(/usr/bin/yacc)
TOOLS_PLATFORM.yacc?= /usr/bin/yacc
.endif