japanese/mozc-server: Fix build with protobuf 22+

This commit is contained in:
Po-Chuan Hsieh 2023-12-15 00:22:34 +08:00
parent 23a053c806
commit a659f3ae68
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -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"