Package: sdl-ttf2.0 / 2.0.11-6

fix-ftbfs-892435.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/configure.in
+++ b/configure.in
@@ -113,13 +113,14 @@
         FREETYPE_CONFIG=$freetype_prefix/bin/freetype-config
      fi
 fi
-AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no)
+AC_PATH_TOOL(FREETYPE_CONFIG, pkg-config, no)
 no_freetype=""
 if test "$FREETYPE_CONFIG" = "no" ; then
     AC_MSG_ERROR([
 *** Unable to find FreeType2 library (http://www.freetype.org/)
 ])
 else
+    freetypeconf_args="freetype2"
     CFLAGS="$CFLAGS `$FREETYPE_CONFIG $freetypeconf_args --cflags`"
     LIBS="$LIBS `$FREETYPE_CONFIG $freetypeconf_args --libs`"
 fi