Blob Blame Raw
diff -uNr scummvm-1.7.0.old/configure scummvm-1.7.0/configure
--- scummvm-1.7.0.old/configure	2014-07-11 23:10:26.000000000 +0200
+++ scummvm-1.7.0/configure	2014-11-09 22:22:37.825355055 +0100
@@ -3878,8 +3878,8 @@
 	if test -z "$_freetypeconfig"; then
 		_freetype2=no
 	else
-		FREETYPE2_LIBS=`$_freetypeconfig --prefix="$_freetypepath" --libs`
-		FREETYPE2_CFLAGS=`$_freetypeconfig --prefix="$_freetypepath" --cflags`
+		FREETYPE2_LIBS=`pkg-config --libs freetype2`
+		FREETYPE2_CFLAGS=`pkg-config --cflags freetype2`
 
 		if test "$_freetype2" = "auto"; then
 			_freetype2=no