On Sun, Mar 23, 2014 at 07:55:05PM +0000, Matthias Scheler wrote: > > > 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@
Matthew Green has fixed this. > The first part still doesn't look right and the "gd" package still > fails to detect "fontconfig". This seems to be a problem with "pkgsrc" which I'm currently fixing. Kind regards -- Matthias Scheler https://zhadum.org.uk/