Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2013 17:08:06 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Please revert r258230 in stable/10
Message-ID:  <5288BFB6.3010709@passap.ru>
In-Reply-To: <20131117114223.9af2adf49a93b5dd7f77f472@dec.sakura.ne.jp>
References:  <20131117114223.9af2adf49a93b5dd7f77f472@dec.sakura.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------030607090404010300060009
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

17.11.2013 06:42, Tomoaki AOKI пишет:

> As some port requires libiconv.so.3

Are you speaking in general or do you have other (than
japanese/mozc-tools) examples?

> At least, japanese/mozc-tools (I and maybe many Japanese desktop users
> strongly need japanese/mozc-* ports, and it unconditionally requires
> libiconv.so.3) didn't build in head after r257583

I just tried to build japanese/mozc-tools. Do you speak about this?:
-----
  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
-----

If yes, I'd say that it's not a hard dependency upon libiconv but just a
configure error. Please, try the attached patch (build tested only)
and report back. We will be interested at run time behaviour (is it
OK or not).

Seems that the patch has an effect only on mozc-tools, but to be on
a safe side I'd rebuild all mozc-* ports.

Thank you for the report.
-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve

--------------030607090404010300060009
Content-Type: text/x-diff;
 name="mozc-tool.iconv-fix.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="mozc-tool.iconv-fix.diff"

Index: /usr/ports/japanese/mozc-server/Makefile
===================================================================
--- /usr/ports/japanese/mozc-server/Makefile	(revision 334072)
+++ /usr/ports/japanese/mozc-server/Makefile	(working copy)
@@ -82,6 +82,7 @@
 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

--------------030607090404010300060009--



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