aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-12-14 16:22:34 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-12-14 17:03:06 +0000
commita659f3ae680577055cad624d87a01fe2d6cc6a6a (patch)
treed5a88677cb23e5da14f7491f473be55f97912f8f
parent23a053c8062da5e0d8337a0368ef4f1f22025a59 (diff)
downloadports-a659f3ae680577055cad624d87a01fe2d6cc6a6a.tar.gz
ports-a659f3ae680577055cad624d87a01fe2d6cc6a6a.zip
japanese/mozc-server: Fix build with protobuf 22+
-rw-r--r--japanese/mozc-server/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/japanese/mozc-server/Makefile b/japanese/mozc-server/Makefile
index 20296b559677..719364ca69c1 100644
--- a/japanese/mozc-server/Makefile
+++ b/japanese/mozc-server/Makefile
@@ -23,11 +23,14 @@ USE_GITHUB= yes
GH_ACCOUNT= hrs-allbsd
GH_TUPLE= hiroyuki-komatsu:japanese-usage-dictionary:e5b3425:udic
-USES= compiler:c++11-lang gmake ninja:build pkgconfig \
+USES= compiler:c++17-lang gmake ninja:build pkgconfig \
python:build shebangfix tar:bzip2
SHEBANG_FILES= src/build_mozc.py
BUILD_WRKSRC= ${WRKSRC}/src
+LDFLAGS+= -labsl_spinlock_wait
+USE_CXXSTD= c++17
+
BUILD_MOZC_LIST?= mozc_server
.if ${BUILD_MOZC_LIST:Mmozc_server} == "mozc_server"