tech-pkg archive

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

Re: Is fontconfig supposed to link against libbz2?



Benny Siegert <bsiegert%gmail.com@localhost> writes:

> I am investigating the first build failures in my MirBSD/i386 bulk
> build. I noticed that fontconfig fails to link its shared library.
> There is a libtool message stating that there is no dynamic library
> for -lbz2.
>
> Adding achivers/bzip2/buildlink3.mk to the Makefile makes the package
> build. But is this supposed to happen? I noticed that libfontconfig
> links against freetype2, which does have a bzip2 dependency. And
> libfreetype2.la contains the line

graphics/freetype2/buildlink3.mk does include bzip2's bl3 file.

> dependency_libs='-L/usr/pkg/lib -lz -lbz2'
>
> which is where that dependency is picked up.
>
> Or does that mean that there is a problem with the libtool platform
> support again? It would not be the first time :(.

So it looks like
  fontconfig/Makefile includes freetype2/buildlink3.mk
  freetype2/buildlink3.mk includes bzip2/buildlink3.mk

on my system, building fontconfig does not result in bzip2 in
.buildlink, but libbz2 is built in.

So I guess you should try to debug why the bzip2 package isn't
buildlinked in.

Attachment: pgpfT0OrdkerQ.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index