--- libgdiplus-1.9.ebuild 2008-05-31 14:22:19.000000000 +0200 +++ libgdiplus-1.9-r1.ebuild 2008-06-01 00:38:27.000000000 +0200 @@ -33,10 +33,14 @@ unpack ${A} cd "${S}" epatch "${FILESDIR}/${PN}-1.2.5-imglibs.patch" + sed -i \ + -e 's/FONTCONFIG-CONFIG/FONTCONFIG_CONFIG/' \ + -e 's/FREETYPE-CONFIG/FREETYPE_CONFIG/' \ + configure.in || die 'configure.in not found' eautoreconf } src_compile() { if [[ "$(gcc-major-version)" -gt "3" ]] || \ @@ -45,10 +49,12 @@ append-flags -fno-inline-functions fi # Disable glitz support as libgdiplus does not use it, and it causes errors econf --disable-glitz \ + --disable-dependency-tracking \ + --with-cairo=system \ $(use_with exif libexif) \ $(use_with gif libgif) \ $(use_with jpeg libjpeg) \ $(use_with tiff libtiff) || die "configure failed"