pkgsrc-Users archive

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

multimedia/libass and libiconv



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.

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.

Regards
Matthias


Home | Main Index | Thread Index | Old Index