1 |
commit: c14efa136b56de90c59536e90a5a0cc52122dba9 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 7 07:56:00 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 7 07:58:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c14efa13 |
7 |
|
8 |
games-rpg/adonthell: Use pkg-config to find freetype |
9 |
|
10 |
Closes: https://bugs.gentoo.org/654886 |
11 |
Package-Manager: Portage-2.3.36, Repoman-2.3.9 |
12 |
|
13 |
games-rpg/adonthell/adonthell-0.3.5-r2.ebuild | 3 ++- |
14 |
.../files/adonthell-0.3.5-freetype_pkgconfig.patch | 21 +++++++++++++++++++++ |
15 |
2 files changed, 23 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/games-rpg/adonthell/adonthell-0.3.5-r2.ebuild b/games-rpg/adonthell/adonthell-0.3.5-r2.ebuild |
18 |
index 75039371fba..883c539c216 100644 |
19 |
--- a/games-rpg/adonthell/adonthell-0.3.5-r2.ebuild |
20 |
+++ b/games-rpg/adonthell/adonthell-0.3.5-r2.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Copyright 1999-2018 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=6 |
27 |
@@ -40,6 +40,7 @@ PATCHES=( |
28 |
"${FILESDIR}"/${P}-format.patch |
29 |
"${FILESDIR}"/${P}-gcc46.patch |
30 |
"${FILESDIR}"/${P}-glibc-2.10.patch |
31 |
+ "${FILESDIR}"/${P}-freetype_pkgconfig.patch |
32 |
) |
33 |
|
34 |
pkg_setup() { |
35 |
|
36 |
diff --git a/games-rpg/adonthell/files/adonthell-0.3.5-freetype_pkgconfig.patch b/games-rpg/adonthell/files/adonthell-0.3.5-freetype_pkgconfig.patch |
37 |
new file mode 100644 |
38 |
index 00000000000..ff11ffa96f5 |
39 |
--- /dev/null |
40 |
+++ b/games-rpg/adonthell/files/adonthell-0.3.5-freetype_pkgconfig.patch |
41 |
@@ -0,0 +1,21 @@ |
42 |
+--- adonthell-0.3.5/configure.in |
43 |
++++ adonthell-0.3.5/configure.in |
44 |
+@@ -17,6 +17,8 @@ |
45 |
+ CPPFLAGS="" |
46 |
+ DEFS="" |
47 |
+ |
48 |
++PKG_PROG_PKG_CONFIG |
49 |
++ |
50 |
+ dnl ******************** |
51 |
+ dnl Checks for programs. |
52 |
+ dnl ******************** |
53 |
+@@ -144,8 +146,7 @@ |
54 |
+ dnl Check for FreeType2 |
55 |
+ dnl ******************* |
56 |
+ |
57 |
+-AC_CHECK_FT2(6.0.0, |
58 |
+- :, |
59 |
++PKG_CHECK_MODULES(FT2, freetype2 >= 6.0.0,, |
60 |
+ AC_MSG_ERROR([*** Freetype version >= 6.0.0 not found!]) |
61 |
+ ) |
62 |
+ |