Skip to content

Commit

Permalink
games-util/higan-purify: pass PKG_CONFIG to make
Browse files Browse the repository at this point in the history
  • Loading branch information
thesamesam committed Apr 19, 2021
1 parent 5394e99 commit 86b8974
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion games-util/higan-purify/files/higan-purify-03-QA.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions games-util/higan-purify/higan-purify-03.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 86b8974

Please sign in to comment.