diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-30 08:49:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-30 08:49:38 +0100 |
commit | b2be182d49eea46686b5cf2680d457df61e89dc4 (patch) | |
tree | c66442ced2011c5ca81c3114cc51041e314c6d33 /games-roguelike/scourge/files | |
parent | e23cdda4dbb0c83b9e682ab5e916085a35203da5 (diff) |
gentoo resync : 30.06.2018
Diffstat (limited to 'games-roguelike/scourge/files')
-rw-r--r-- | games-roguelike/scourge/files/scourge-0.21.1-freetype_pkgconfig.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/games-roguelike/scourge/files/scourge-0.21.1-freetype_pkgconfig.patch b/games-roguelike/scourge/files/scourge-0.21.1-freetype_pkgconfig.patch new file mode 100644 index 000000000000..d41ee1a44439 --- /dev/null +++ b/games-roguelike/scourge/files/scourge-0.21.1-freetype_pkgconfig.patch @@ -0,0 +1,34 @@ +Index: scourge/configure.in +=================================================================== +--- scourge/configure.in (revision 3411) ++++ scourge/configure.in (working copy) +@@ -56,6 +56,7 @@ + # Set up binreloc (for a relocatable autopackage file) + AM_BINRELOC + ++PKG_PROG_PKG_CONFIG + dnl -------------------------------------------------------------------------- + dnl General options + dnl -------------------------------------------------------------------------- +@@ -413,19 +414,9 @@ + FREETYPE_LIBS=`/sw/lib/freetype2/bin/freetype-config --libs` + have_FREETYPE=yes + else +-AC_MSG_CHECKING([for freetype-config library]) +- +-AC_PATH_PROG(FREETYPE, freetype-config, no) +- +-if test "$FREETYPE" = "no"; then +- AC_MSG_ERROR(Cannot find freetype2: Is freetype-config in path?) +- have_FREETYPE=no +-else +- FREETYPE_CFLAGS=`freetype-config --cflags` +- FREETYPE_LIBS=`freetype-config --libs` +- have_FREETYPE=yes ++ PKG_CHECK_MODULES(FREETYPE, freetype2, have_FREETYPE=yes, ++ AC_MSG_ERROR(Cannot find freetype2)) + fi +-fi + + LIBS="$saved_LIBS" + TR_LIBS="$TR_LIBS $FREETYPE_LIBS" |