pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: multimedia/libass and libiconv



Hi,

On Sat, 01 Mar 2014 08:42:28 +0900, Matthias Ferdinand 
<mf+ml.pkgsrc-users%netzwerkagentursaarland.de@localhost> wrote:

Hello,

multimedia/libass does not handle iconv properly. While there are iconv
tests in configure, they wrongly conclude that no "-liconv" linker
option is necessary.
The libiconv buildlink3.mk also adds configure option
"--with-iconv-prefix=..." , which the original configure script does not
know (but ignores).

For SunOS, there is already a workaround:

    Makefile:
     ...
     20 LDFLAGS.SunOS+= -liconv

On NetBSD 5.1 and Linux, I found libass causing problems building
ffmpeg, which fails in configure stage trying to use libass. config.log
says that libass.so could not find iconv functions.

Variants of the above workaround also work on NetBSD 5.1 and Linux.

Fixed by Makefile rev 1.9.

Another successful method is adding

   AM_ICONV

to configure.ac, touch "config.rpath" and then run "autoreconf" prior to
running configure.

That would (hopefully) work on all platforms.

Yes, it should be noticed to upstream, for the case using external iconv
over libc builtin one.

--
OBATA Akio / obata%lins.jp@localhost


Home | Main Index | Thread Index | Old Index