On Tue, Dec 23, 2014 at 06:29:51PM -0600, John D. Baker wrote:
On Tue, 23 Dec 2014, John D. Baker wrote:
> Perhaps rebuilding "devel/pkg-config"? Or is the built-in fontconfig's
> "fontconfig.pc" file broken (with the "@FOO@" stuff).
Pretty sure the netbsd-6 fontconfig update produced a broken "fontconfig.pc"
file. From my DESTDIR:
$ cat /d0/build/netbsd-6/DEST/i386/usr/X11R7/lib/pkgconfig/fontconfig.pc
prefix=/usr/X11R7
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
sysconfdir=@sysconfdir@
localstatedir=@localstatedir@
PACKAGE=@PACKAGE@
confdir=@BASECONFIGDIR@
cachedir=@fc_cachedir@
Name: Fontconfig
Description: Font configuration and customization library
Version: 2.11.1
Requires: @PKGCONFIG_REQUIRES@
Requires.private: @PKGCONFIG_REQUIRES_PRIVATELY@
Libs: -Wl,-rpath,${libdir} -L${libdir} -lfontconfig
Libs.private: -lexpat -lfreetype
Cflags: -I${includedir} @EXPAT_CFLAGS@ @FREETYPE_CFLAGS@ @ICONV_CFLAGS@ @LIBXML2_CFLAGS@
Compare one from netbsd-7:
$ cat /d0/build/netbsd-7/DEST/i386/usr/X11R7/lib/pkgconfig/fontconfig.pc
prefix=/usr/X11R7
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
sysconfdir=/etc/X11
localstatedir=/var
PACKAGE=
confdir=/etc/fonts
cachedir=/etc/fonts
Name: Fontconfig
Description: Font configuration and customization library
Version: 2.11.1
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
This reminds me of
http://mail-index.netbsd.org/tech-x11/2014/03/23/msg001333.html
Do revisions 1.109 and 1.110 of bsd.x11.mk need pulling up to netbsd-6?