Hi all,

The generated freetype2.pc file lists ${includedir}/freetype2 but not ${includedir} which causes code to fail to find ft2build.h if freetype is installed in a non-standard directory. freetype-config, on the other hand, gets this right. Trivial patch attached.

Cheers,

--
Ali Harlow                              Email: [EMAIL PROTECTED]
Senior Research Officer                 Tel:   (020) 7040 4348
Applied Vision Research Centre          Intl: +44 20 7040 4348
City University                         Fax:   (020) 7040 5515
London                                  Intl: +44 20 7040 5515

# $Product: freetype $ $Id: freetype-2.1.10-pkgconfig.patch,v 1.1 2005/08/25 07:19:45 avrc Exp $

diff -Naurd ../freetype-2.1.10/builds/unix/freetype2.in ./builds/unix/freetype2.in
--- ../freetype-2.1.10/builds/unix/freetype2.in	2003-06-01 22:30:03.000000000 +0100
+++ ./builds/unix/freetype2.in	2005-08-25 07:08:18.000000000 +0100
@@ -8,4 +8,4 @@
 Version: @ft_version@
 Requires:
 Libs: -L${libdir} -lfreetype @LIBZ@
-Cflags: -I${includedir}/freetype2
+Cflags: -I${includedir}/freetype2 -I${includedir}


_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to