forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-arcade/openmortal: Use pkg-config to find freetype
Closes: https://bugs.gentoo.org/655036 Package-Manager: Portage-2.3.36, Repoman-2.3.9
- Loading branch information
Lars Wendler
committed
May 7, 2018
1 parent
810913d
commit 6bef359
Showing
2 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
games-arcade/openmortal/files/openmortal-0.7-freetype_pkgconfig.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- openmortal-0.7/configure.in | ||
+++ openmortal-0.7/configure.in | ||
@@ -25,6 +25,7 @@ | ||
AC_C_CONST | ||
AC_PROG_CXX | ||
|
||
+PKG_PROG_PKG_CONFIG | ||
|
||
dnl | ||
dnl Switches | ||
@@ -122,11 +123,8 @@ | ||
|
||
dnl Check for Freetype 2 library | ||
|
||
-FT2_VERSION=2.1.0 | ||
-AC_CHECK_FT2( | ||
- $FT2_VERSION, | ||
- :, | ||
- AC_MSG_ERROR([*** FreeType 2 version $FT2_VERSION not found!]) | ||
+PKG_CHECK_MODULES(FT2, freetype2,, | ||
+ AC_MSG_ERROR([*** FreeType2 not found!]) | ||
) | ||
CXXFLAGS="$CXXFLAGS $FT2_CFLAGS" | ||
LIBS="$LIBS $FT2_LIBS" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters