1 |
commit: 86b8974c15ef6d688fe729a3d8bb810bd50eae70 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 19 20:44:15 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 19 20:54:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86b8974c |
7 |
|
8 |
games-util/higan-purify: pass PKG_CONFIG to make |
9 |
|
10 |
Closes: https://bugs.gentoo.org/784236 |
11 |
Closes: https://bugs.gentoo.org/784239 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
games-util/higan-purify/files/higan-purify-03-QA.patch | 2 +- |
15 |
games-util/higan-purify/higan-purify-03.ebuild | 3 +-- |
16 |
2 files changed, 2 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/games-util/higan-purify/files/higan-purify-03-QA.patch b/games-util/higan-purify/files/higan-purify-03-QA.patch |
19 |
index 6178259a466..5b2d1e6c3d3 100644 |
20 |
--- a/games-util/higan-purify/files/higan-purify-03-QA.patch |
21 |
+++ b/games-util/higan-purify/files/higan-purify-03-QA.patch |
22 |
@@ -28,7 +28,7 @@ |
23 |
ifeq ($(phoenix),gtk) |
24 |
- phoenixflags := -DPHOENIX_GTK `pkg-config --cflags gtk+-2.0` |
25 |
- phoenixlink := `pkg-config --libs gtk+-2.0` |
26 |
-+ phoenixflags := -DPHOENIX_GTK `${PKG_COFNIG} --cflags gtk+-2.0 x11` |
27 |
++ phoenixflags := -DPHOENIX_GTK `${PKG_CONFIG} --cflags gtk+-2.0 x11` |
28 |
+ phoenixlink := `${PKG_CONFIG} --libs gtk+-2.0 x11` -ldl |
29 |
endif |
30 |
|
31 |
|
32 |
diff --git a/games-util/higan-purify/higan-purify-03.ebuild b/games-util/higan-purify/higan-purify-03.ebuild |
33 |
index 913ba7dbd5d..deb6d07b9d6 100644 |
34 |
--- a/games-util/higan-purify/higan-purify-03.ebuild |
35 |
+++ b/games-util/higan-purify/higan-purify-03.ebuild |
36 |
@@ -35,9 +35,8 @@ src_prepare() { |
37 |
} |
38 |
|
39 |
src_compile() { |
40 |
- tc-export PKG_CONFIG |
41 |
- |
42 |
emake \ |
43 |
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" |
44 |
platform="x" \ |
45 |
compiler="$(tc-getCXX)" \ |
46 |
phoenix="gtk" |