Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Aug 2013 01:13:33 +0900
From:      Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>
To:        Ports FreeBSD <freebsd-ports@freebsd.org>
Subject:   [patch]Uses/iconv.mk, devel/getext has no libiconv linkage.
Message-ID:  <51FFCF2D.3010105@kbh.biglobe.ne.jp>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------070408090701040201060204
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit

Hi.

Some ports, e.g. devel/glib20, cannot build because devel/gettext has no
libiconv linkage.
msgfmt cannot handle utf-8 and say "invalid multibyte sequence".

Patch attached file and rebuild devel/gettext, msgfmt works correctly.



--------------070408090701040201060204
Content-Type: text/x-patch;
 name="Uses_iconv.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="Uses_iconv.patch"

Index: Mk/Uses/iconv.mk
===================================================================
--- Mk/Uses/iconv.mk	(revision 324274)
+++ Mk/Uses/iconv.mk	(working copy)
@@ -17,5 +17,6 @@
 .endif
 
 LIB_DEPENDS+=	libiconv.so.3:${PORTSDIR}/converters/libiconv
+LDFLAGS+= -L${LOCALBASE}/lib -liconv
 
 .endif

--------------070408090701040201060204--



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