pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc various hacks.mk: use OPSYS_VERSION
details: https://anonhg.NetBSD.org/pkgsrc/rev/68c0e3da0cb4
branches: trunk
changeset: 379851:68c0e3da0cb4
user: nia <nia%pkgsrc.org@localhost>
date: Tue May 24 09:53:02 2022 +0000
description:
various hacks.mk: use OPSYS_VERSION
diffstat:
textproc/CRF++/hacks.mk | 4 ++--
textproc/cabocha/hacks.mk | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 65a0c7c11936 -r 68c0e3da0cb4 textproc/CRF++/hacks.mk
--- a/textproc/CRF++/hacks.mk Tue May 24 09:51:51 2022 +0000
+++ b/textproc/CRF++/hacks.mk Tue May 24 09:53:02 2022 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: hacks.mk,v 1.2 2019/11/04 21:43:32 rillig Exp $
+# $NetBSD: hacks.mk,v 1.3 2022/05/24 09:53:02 nia Exp $
.if !defined(CRFPP_HACKS_MK)
CRFPP_HACKS_MK= # defined
# No TLS support on NetBSD<6
-.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*)
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 060000
PKG_HACKS+= netbsd5-disable_tls
SUBST_CLASSES+= disable_tls
SUBST_STAGE.disable_tls= pre-configure
diff -r 65a0c7c11936 -r 68c0e3da0cb4 textproc/cabocha/hacks.mk
--- a/textproc/cabocha/hacks.mk Tue May 24 09:51:51 2022 +0000
+++ b/textproc/cabocha/hacks.mk Tue May 24 09:53:02 2022 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: hacks.mk,v 1.2 2019/11/04 21:43:33 rillig Exp $
+# $NetBSD: hacks.mk,v 1.3 2022/05/24 09:53:02 nia Exp $
.if !defined(CABOCHA_HACKS_MK)
CABOCHA_HACKS_MK= # defined
# No TLS support on NetBSD<6
-.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*)
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 060000
PKG_HACKS+= netbsd5-disable_tls
SUBST_CLASSES+= disable_tls
SUBST_STAGE.disable_tls= pre-configure
Home |
Main Index |
Thread Index |
Old Index