From e45cc56671cc8ce832c705d7bae81a6f96549b13 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 30 Dec 2016 13:58:49 +0000 Subject: [PATCH] use ports gcc on arm to get atomic builtins --- japanese/mecab/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/japanese/mecab/Makefile b/japanese/mecab/Makefile index cb4014caf6f..b4293bee3b0 100644 --- a/japanese/mecab/Makefile +++ b/japanese/mecab/Makefile @@ -1,8 +1,7 @@ -# $OpenBSD: Makefile,v 1.13 2016/10/01 11:54:16 naddy Exp $ +# $OpenBSD: Makefile,v 1.14 2016/12/30 13:58:49 jsg Exp $ # .libs/libmecab.so.0.0: undefined reference to `__sync_val_compare_and_swap_4' # .libs/libmecab.so.0.0: undefined reference to `__sync_add_and_fetch_4' -BROKEN-arm = undefined refs to __sync operations BROKEN-hppa = undefined refs to __sync operations COMMENT-main = japanese morphological analyzer engine @@ -32,6 +31,11 @@ MASTER_SITES = ${MASTER_SITE_GOOGLECODE:=mecab/} DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \ ${PKGNAME-ipadic}-${IPADIC_VER}.tar.gz +# for atomic builtins +MODULES = gcc4 +MODGCC4_ARCHS = arm +MODGCC4_LANGS = c++ + LIB_DEPENDS-main = converters/libiconv RUN_DEPENDS-main = mecab-ipadic-*:japanese/mecab,-ipadic RUN_DEPENDS-ipadic =