name=cairo
version=1.8.8
-release=1
+release=2
source=(http://cairographics.org/releases/$name-$version.tar.gz)
build() {
export pixman_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/pixman-1"
export FONTCONFIG_LIBS="$DEFAULT_LIBS -lfontconfig"
export FONTCONFIG_CFLAGS="$DEFAULT_CFLAGS"
+ export FREETYPE_LIBS="$DEFAULT_LIBS -lfreetype -lz"
+ export FREETYPE_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/freetype2"
sed 's|use_png=no|use_png=yes|' -i configure