Package: brutalchess / 0.5.2+dfsg-8

use-pkg-config.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: Use pkg-config instead of freetype-config for finding freetype2
Bug-Debian: https://bugs.debian.org/892337

--- a/configure.ac
+++ b/configure.ac
@@ -54,7 +54,7 @@
 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
 LIBS="$LIBS $SDL_LIBS"
 
-AC_CHECK_FT2
+PKG_CHECK_MODULES([FT2], [freetype2])
 CFLAGS="$CFLAGS $FT2_CFLAGS"
 CXXFLAGS="$CXXFLAGS $FT2_CFLAGS"
 LIBS="$LIBS $FT2_LIBS"