pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools mk: Use OPSYS_VERSION



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e34e7dd676a9
branches:  trunk
changeset: 379883:e34e7dd676a9
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue May 24 13:08:26 2022 +0000

description:
mk: Use OPSYS_VERSION

diffstat:

 mk/tools/tools.NetBSD.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r bc48b63cde75 -r e34e7dd676a9 mk/tools/tools.NetBSD.mk
--- a/mk/tools/tools.NetBSD.mk  Tue May 24 13:06:14 2022 +0000
+++ b/mk/tools/tools.NetBSD.mk  Tue May 24 13:08:26 2022 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: tools.NetBSD.mk,v 1.71 2022/04/16 08:58:19 riastradh Exp $
+# $NetBSD: tools.NetBSD.mk,v 1.72 2022/05/24 13:08:26 nia Exp $
 #
 # System-supplied tools for the NetBSD operating system.
 
 TOOLS_PLATFORM.[?=             [                       # shell builtin
 TOOLS_PLATFORM.awk?=           /usr/bin/awk
 TOOLS_PLATFORM.basename?=      /usr/bin/basename
-.if empty(MACHINE_PLATFORM:MNetBSD-[0-8].*) || !empty(MKBSDTAR:U:Myes)
+.if ${OPSYS_VERSION} >= 090000 || !empty(MKBSDTAR:U:Myes)
 TOOLS_PLATFORM.bsdtar?=                /bin/tar
 .endif
 TOOLS_PLATFORM.byacc?=         /usr/bin/yacc



Home | Main Index | Thread Index | Old Index