Subject: Re: Cflags and pkg-config and freetype2
To: None <,>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 02/21/2006 12:01:23
On Tue, 21 Feb 2006, Jeremy C. Reed wrote:

> Cflags: -I${includedir}/freetype2 -I${includedir}
> How can that be done the pkgconfig way?

I was thinking that this would be done only if includedir was not 
/usr/include (like the freetype-config script does it). But now I see 
other examples 
(pkgsrc/graphics/libexif/work/libexif-0.6.12/libexif/ and 
just do it automatically:

Cflags: -I${includedir}/libexif -I${includedir}
Cflags: -I${includedir}/gphoto2 -I${includedir}

Is it okay if I update the freetype2 package with a patch to add that 

(I am curious why ft2build.h is not in the subdirectory though...)

 Jeremy C. Reed

 	  	 	 Low cost press releases