Subject: Xft2 pkgconfig cflags
To: None <tech-pkg@netbsd.org>
From: Marc Recht <recht@netbsd.org>
List: tech-pkg
Date: 01/21/2004 16:20:14
--==========9C5559B6EFC05E73AF49==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi!

At the moment Xft2 lists {includedir}, in my case /usr/pkg/include, before=20
the freetype includedir. This leads to build errors in cases where the=20
freetype1 and 2 pkgs are installed and the pkgsrc freetype2 version should=20
be used.
If there aren't any objects I'd like to commit the following as a band aid:

--- xft.pc.in.orig   2004-01-21 16:13:29.000000000 +0100
+++ xft.pc.in  2004-01-21 16:14:10.000000000 +0100
@@ -12,4 +12,4 @@
 Version: @VERSION@
 Requires: fontconfig
 Libs: -L${libdir} -lXft -lX11 ${freetypelibs} ${xrenderlibs}
-Cflags: -I${includedir} ${freetypecflags} ${xrendercflags}
+Cflags: ${freetypecflags} ${xrendercflags} -I${includedir}


--=20
Marc Recht
--==========9C5559B6EFC05E73AF49==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFADpiu7YQCetAaG3MRAqsfAJ9gHMQMF8PVAEQDbuJPKsLTZ0tGVgCfRh+M
s+PGq5MawKwIqemgqXp6kOU=
=Yqu8
-----END PGP SIGNATURE-----

--==========9C5559B6EFC05E73AF49==========--