svn commit: r334202 - head/japanese/mozc-server
Boris Samorodov
bsam at FreeBSD.org
Mon Nov 18 14:55:27 UTC 2013
Author: bsam
Date: Mon Nov 18 14:55:26 2013
New Revision: 334202
URL: http://svnweb.freebsd.org/changeset/ports/334202
Log:
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 at dec.sakura.ne.jp>
Tested by: Tomoaki AOKI <junchoon at dec.sakura.ne.jp>
Approved by: portmgr (bapt, implicit)
Modified:
head/japanese/mozc-server/Makefile
Modified: head/japanese/mozc-server/Makefile
==============================================================================
--- head/japanese/mozc-server/Makefile Mon Nov 18 14:55:09 2013 (r334201)
+++ head/japanese/mozc-server/Makefile Mon Nov 18 14:55:26 2013 (r334202)
@@ -82,6 +82,7 @@ BUILD_GYP_CMD= cd ${WRKSRC}/third_party/
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
More information about the svn-ports-head
mailing list