summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-05-24 13:03:25 +0000
committernia <nia@pkgsrc.org>2022-05-24 13:03:25 +0000
commit214f4acb640db4db6a67e2e584282b58a822df6d (patch)
treee7bfa6605550405406335e2264a39fbe559249b5 /textproc
parent73c869cd2fa20d24cbdaaa6e30ef3b52cccfc2a7 (diff)
downloadpkgsrc-214f4acb640db4db6a67e2e584282b58a822df6d.tar.gz
mecab-base: Use OPSYS_VERSION.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/mecab-base/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/mecab-base/Makefile b/textproc/mecab-base/Makefile
index 614831cb806..ab1c46ffc1b 100644
--- a/textproc/mecab-base/Makefile
+++ b/textproc/mecab-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2017/08/28 19:04:42 fhajny Exp $
+# $NetBSD: Makefile,v 1.12 2022/05/24 13:03:25 nia Exp $
#
.include "../../textproc/mecab/Makefile.common"
@@ -44,7 +44,7 @@ SUBST_SED.pthread= -e 's|-lpthread||g'
PTHREAD_AUTO_VARS= yes
# No TLS support for NetBSD.
-.if !empty(MACHINE_PLATFORM:MNetBSD-[1-5].*-*)
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 060000
SUBST_SED.pthread+= -e 's|enable_tls=yes|enable_tls=no|g'
.endif