diff options
author | nia <nia@pkgsrc.org> | 2022-05-24 13:03:25 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2022-05-24 13:03:25 +0000 |
commit | 214f4acb640db4db6a67e2e584282b58a822df6d (patch) | |
tree | e7bfa6605550405406335e2264a39fbe559249b5 /textproc | |
parent | 73c869cd2fa20d24cbdaaa6e30ef3b52cccfc2a7 (diff) | |
download | pkgsrc-214f4acb640db4db6a67e2e584282b58a822df6d.tar.gz |
mecab-base: Use OPSYS_VERSION.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/mecab-base/Makefile | 4 |
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 |