commit:     86b8974c15ef6d688fe729a3d8bb810bd50eae70
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 19 20:44:15 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 19 20:54:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86b8974c

games-util/higan-purify: pass PKG_CONFIG to make

Closes: https://bugs.gentoo.org/784236
Closes: https://bugs.gentoo.org/784239
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-util/higan-purify/files/higan-purify-03-QA.patch | 2 +-
 games-util/higan-purify/higan-purify-03.ebuild         | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/games-util/higan-purify/files/higan-purify-03-QA.patch 
b/games-util/higan-purify/files/higan-purify-03-QA.patch
index 6178259a466..5b2d1e6c3d3 100644
--- a/games-util/higan-purify/files/higan-purify-03-QA.patch
+++ b/games-util/higan-purify/files/higan-purify-03-QA.patch
@@ -28,7 +28,7 @@
    ifeq ($(phoenix),gtk)
 -    phoenixflags := -DPHOENIX_GTK `pkg-config --cflags gtk+-2.0`
 -    phoenixlink := `pkg-config --libs gtk+-2.0`
-+    phoenixflags := -DPHOENIX_GTK `${PKG_COFNIG} --cflags gtk+-2.0 x11`
++    phoenixflags := -DPHOENIX_GTK `${PKG_CONFIG} --cflags gtk+-2.0 x11`
 +    phoenixlink := `${PKG_CONFIG} --libs gtk+-2.0 x11` -ldl
    endif
  

diff --git a/games-util/higan-purify/higan-purify-03.ebuild 
b/games-util/higan-purify/higan-purify-03.ebuild
index 913ba7dbd5d..deb6d07b9d6 100644
--- a/games-util/higan-purify/higan-purify-03.ebuild
+++ b/games-util/higan-purify/higan-purify-03.ebuild
@@ -35,9 +35,8 @@ src_prepare() {
 }
 
 src_compile() {
-       tc-export PKG_CONFIG
-
        emake \
+               PKG_CONFIG="$(tc-getPKG_CONFIG)"
                platform="x" \
                compiler="$(tc-getCXX)" \
                phoenix="gtk"

Reply via email to