pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk mk: Use OPSYS_VERSION to numerically compare NetBSD...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2698cc062e98
branches: trunk
changeset: 378712:2698cc062e98
user: nia <nia%pkgsrc.org@localhost>
date: Thu May 05 08:30:43 2022 +0000
description:
mk: Use OPSYS_VERSION to numerically compare NetBSD versions
diffstat:
mk/resolv.buildlink3.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f55d7c124057 -r 2698cc062e98 mk/resolv.buildlink3.mk
--- a/mk/resolv.buildlink3.mk Thu May 05 08:29:37 2022 +0000
+++ b/mk/resolv.buildlink3.mk Thu May 05 08:30:43 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: resolv.buildlink3.mk,v 1.5 2011/02/13 16:17:54 taca Exp $
+# $NetBSD: resolv.buildlink3.mk,v 1.6 2022/05/05 08:30:43 nia Exp $
#
# This Makefile fragment is included by package Makefiles and
# buildlink3.mk files for the packages that need a thread-safe
@@ -29,7 +29,7 @@
USE_BUILTIN.resolv?= yes
BUILDLINK_LDFLAGS.resolv= # empty, in libc
-.elif (${OPSYS} == "NetBSD" && empty(OS_VERSION:M[012].*)) || \
+.elif (${OPSYS} == "NetBSD" && ${OPSYS_VERSION} > 030000) || \
(${OPSYS} == "Darwin" && empty(OS_VERSION:M[0123467].*))
USE_BUILTIN.resolv?= yes
Home |
Main Index |
Thread Index |
Old Index