mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Fix build of japanese/mozc-tools with native iconv. The error:
----- LINK(target) out_linux/Release/mozc_tool /usr/bin/ld: cannot find -liconv c++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [out_linux/Release/mozc_tool] Error 1 ----- Notes: 1. The fix for japanese/mozc-tools (committed to japanese/mozc-server). 2. Do not bump PORTREVISION of japanese/mozc-tools since: - it's a build failure; - it should be treated while upgrading at each system along with other iconv changes. Reported by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> Tested by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> Approved by: portmgr (bapt, implicit)
This commit is contained in:
parent
18181ac14b
commit
ff759491f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334202
@ -82,6 +82,7 @@ BUILD_GYP_CMD= cd ${WRKSRC}/third_party/gyp && \
|
||||
post-patch:
|
||||
${MKDIR} ${WRKSRC}/mozc_build_tools/linux
|
||||
${LN} -sf ${LOCALBASE}/bin/protoc ${WRKSRC}/mozc_build_tools/linux/
|
||||
${REINPLACE_CMD} 's,-liconv,${ICONV_LIB},g' ${WRKSRC}/gui/qt_libraries.gypi
|
||||
.if ${BUILD_MOZC_LIST:Mfcitx_mozc} == "fcitx_mozc"
|
||||
${REINPLACE_CMD} 's,/po/mo},%po}mo,g' \
|
||||
${WRKSRC}/unix/fcitx/gen_fcitx_mozc_i18n.sh
|
||||
|
Loading…
Reference in New Issue
Block a user