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: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
Libs: -Wl,-rpath,${libdir} -L${libdir} -lfontconfig
Libs.private: -lexpat -lfreetype
Cflags: -I${includedir}  -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include

"/usr/X11R7/lib/pkgconfig/pthread-stubs.pc" doesn't look correct as well.

        Kind regards

-- 
Matthias Scheler                                 https://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index