pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools SunOS: add native tool paths for xz & xzcat



details:   https://anonhg.NetBSD.org/pkgsrc/rev/940e5a3e9bc3
branches:  trunk
changeset: 371352:940e5a3e9bc3
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Jan 09 17:36:52 2022 +0000

description:
SunOS: add native tool paths for xz & xzcat

Spotted on OpenIndiana, provided by compress/xz pkg

diffstat:

 mk/tools/tools.SunOS.mk |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 070b7034d280 -r 940e5a3e9bc3 mk/tools/tools.SunOS.mk
--- a/mk/tools/tools.SunOS.mk   Sun Jan 09 17:30:30 2022 +0000
+++ b/mk/tools/tools.SunOS.mk   Sun Jan 09 17:36:52 2022 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index