Current-Users archive

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

Re: "gd" packages fails to build under NetBSD/amd64 current



On Sun, Mar 23, 2014 at 05:57:50PM +0000, Matthias Scheler wrote:
> On Sun, Mar 23, 2014 at 05:53:39PM +0000, Matthias Scheler wrote:
> > I cannot build "pkgsrc/graphics/gd" on my NetBSD/amd64 system using
> > current with native X11 from today:
> > 
> > checking for deflate in -lz... yes
> > checking libpng-config script... /usr/pkg/bin/libpng-config, cflags: 
> > -I/usr/pkg/include/libpng16, libs: -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lpng16
> > checking for FcInit in -lfontconfig... no
> > configure: error: fontconfig support requested, but not found
> > *** Error code 1
> > 
> > Is anybody else seeing this?
> 
> I think I found the cause "/usr/X11R7/lib/pkgconfig/fontconfig.pc"
> looks broken:
> 
> prefix=/usr/X11R7
> exec_prefix=${prefix}
> libdir=${prefix}/lib
> includedir=${prefix}/include
> sysconfdir=@sysconfdir@
> localstatedir=@localstatedir@
> PACKAGE=
> confdir=@baseconfigdir@
> cachedir=@fc_cachedir@
> 
> Name: Fontconfig
> Description: Font configuration and customization library
> Version: 2.11.0
> Requires: xx
> Requires.private: xx
  ^^^^^^^^^^^^^^^^^^^^^

This is fixed by ryoon's patch in

http://mail-index.netbsd.org/current-users/2014/03/22/msg024499.html

Seems broken in a different way:

Requires: @PKGCONFIG_REQUIRES@
Requires.private: @PKGCONFIG_REQUIRES_PRIVATELY@

So, no more xx, but somehow the substitution to ${PKGCONFIG_REQUIRES}
hasn't happened for me...

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index