summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 07:36:04 +0100
committerSam James <sam@gentoo.org>2021-04-19 20:09:54 +0100
commit91c5d43d7edd1485dfbb829867e4911907263b26 (patch)
tree1ea41f043e2cc76e72b87a14aefbf70e10bfb354 /games-util
parentgames-puzzle/picpuz: respect ${PKG_CONFIG}, CXX (diff)
downloadgentoo-91c5d43d7edd1485dfbb829867e4911907263b26.tar.gz
gentoo-91c5d43d7edd1485dfbb829867e4911907263b26.tar.bz2
gentoo-91c5d43d7edd1485dfbb829867e4911907263b26.zip
games-util/higan-purify: respect ${PKG_CONFIG}
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-util')
-rw-r--r--games-util/higan-purify/files/higan-purify-03-QA.patch8
-rw-r--r--games-util/higan-purify/higan-purify-03.ebuild2
2 files changed, 6 insertions, 4 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 b1a65b172d6f..6178259a4665 100644
--- a/games-util/higan-purify/files/higan-purify-03-QA.patch
+++ b/games-util/higan-purify/files/higan-purify-03-QA.patch
@@ -28,15 +28,15 @@
ifeq ($(phoenix),gtk)
- phoenixflags := -DPHOENIX_GTK `pkg-config --cflags gtk+-2.0`
- phoenixlink := `pkg-config --libs gtk+-2.0`
-+ phoenixflags := -DPHOENIX_GTK `pkg-config --cflags gtk+-2.0 x11`
-+ phoenixlink := `pkg-config --libs gtk+-2.0 x11` -ldl
++ phoenixflags := -DPHOENIX_GTK `${PKG_COFNIG} --cflags gtk+-2.0 x11`
++ phoenixlink := `${PKG_CONFIG} --libs gtk+-2.0 x11` -ldl
endif
ifeq ($(phoenix),qt)
- phoenixflags := -DPHOENIX_QT `pkg-config --cflags QtCore QtGui`
- phoenixlink := `pkg-config --libs QtCore QtGui`
-+ phoenixflags := -DPHOENIX_QT `pkg-config --cflags QtCore QtGui x11`
-+ phoenixlink := `pkg-config --libs QtCore QtGui x11` -ldl
++ phoenixflags := -DPHOENIX_QT `${PKG_CONFIG} --cflags QtCore QtGui x11`
++ phoenixlink := `${PKG_CONFIG} --libs QtCore QtGui x11` -ldl
endif
else ifeq ($(platform),win)
phoenixflags := -DPHOENIX_WINDOWS
diff --git a/games-util/higan-purify/higan-purify-03.ebuild b/games-util/higan-purify/higan-purify-03.ebuild
index d7c54373ff18..913ba7dbd5d4 100644
--- a/games-util/higan-purify/higan-purify-03.ebuild
+++ b/games-util/higan-purify/higan-purify-03.ebuild
@@ -35,6 +35,8 @@ src_prepare() {
}
src_compile() {
+ tc-export PKG_CONFIG
+
emake \
platform="x" \
compiler="$(tc-getCXX)" \