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 06:34:09PM +0000, Patrick Welche wrote:
> > 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...
> 
> Finally : I needed
> cd /usr/src/external/mit/xorg/lib/fontconfig/src && make distclean
> to get rid of the fontconfig.pc file, so it gets rebuilt. make clean
> isn't enough. Now:
> 
> Name: Fontconfig
> Description: Font configuration and customization library
> Version: 2.11.0
> Requires: 
> Requires.private: 
> Libs: -Wl,-rpath,${libdir} -L${libdir} -lfontconfig
> Libs.private: -lexpat -lfreetype  
> Cflags: -I${includedir}  -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include  
> 
> So ryoon's patches are all that is needed...

I get this:

tron@lyssa:/usr/pkgsrc/graphics/gd#cat /usr/X11R7/lib/pkgconfig/fontconfig.pc
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:
Requires.private:
Libs: -Wl,-rpath,${libdir} -L${libdir} -lfontconfig
Libs.private: -lexpat -lfreetype
Cflags: -I${includedir}  -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include

The first part still doesn't look right and the "gd" package still
fails to detect "fontconfig".

        Kind regards

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


Home | Main Index | Thread Index | Old Index