summaryrefslogtreecommitdiff
path: root/dev-lang/tk/files/tk-8.5.11-fedora-xft.patch
blob: 98ae39c073165371919ca2a3b4add56228bebf42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -530,8 +530,8 @@
 	XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no"
 	if test "$found_xft" = "no" ; then
 	    found_xft=yes
-	    XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no"
-	    XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no"
+	    XFT_CFLAGS=`pkg-config --cflags xft freetype2 2>/dev/null` || found_xft="no"
+	    XFT_LIBS=`pkg-config --libs xft freetype2 2>/dev/null` || found_xft="no"
 	fi
 	AC_MSG_RESULT([$found_xft])
 	dnl make sure that compiling against Xft header file doesn't bomb