File: fix-ftbfs-892435.patch

package info (click to toggle)
sdl-ttf2.0 2.0.11-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 12,308 kB
  • sloc: sh: 10,170; ansic: 6,423; objc: 520; csh: 219; makefile: 66
file content (18 lines) | stat: -rw-r--r-- 558 bytes parent folder | 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