pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/mecab-base mecab-base: Use OPSYS_VERSION.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/83719c61925a
branches:  trunk
changeset: 379880:83719c61925a
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue May 24 13:03:25 2022 +0000

description:
mecab-base: Use OPSYS_VERSION.

diffstat:

 textproc/mecab-base/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ce677d72d9cc -r 83719c61925a textproc/mecab-base/Makefile
--- a/textproc/mecab-base/Makefile      Tue May 24 13:02:34 2022 +0000
+++ b/textproc/mecab-base/Makefile      Tue May 24 13:03:25 2022 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index