Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 14:55:27 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334202 - head/japanese/mozc-server
Message-ID:  <201311181455.rAIEtRv6038693@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@dec.sakura.ne.jp>
  Tested by:	Tomoaki AOKI <junchoon@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311181455.rAIEtRv6038693>