--- a/Makefile.conf
+++ b/Makefile.conf
@@ -36,15 +36,15 @@
 
 
 # Is freetype-config available?
-HAVE_FT =$(shell if (freetype-config --version) < /dev/null > /dev/null 2>&1; then echo "y"; else echo "n"; fi;)
+HAVE_FT =$(shell if (pkg-config --modversion freetype2) < /dev/null > /dev/null 2>&1; then echo "y"; else echo "n"; fi;)
 ifeq ($(HAVE_FT),n)
   USE_FT = n
 endif
 
 ifneq ($(USE_FT),n)
   USE_FT = y
-  SGE_LIBS +=$(shell freetype-config --libs)
-  FT_CFLAGS =$(shell freetype-config --cflags)
+  SGE_LIBS +=$(shell pkg-config freetype2 --libs)
+  FT_CFLAGS =$(shell pkg-config freetype2 --cflags)
 endif
 
 
