Skip to content

Commit

Permalink
dev-lang/ghc: respect ${PKG_CONFIG}
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.18-prefix, Repoman-3.0.3
Signed-off-by: Sam James <[email protected]>
Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
thesamesam authored and SoapGentoo committed Jun 18, 2021
1 parent 29d6f75 commit 3823da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-lang/ghc/ghc-8.8.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ src_configure() {
# using ${GTARGET}'s libffi is not supported yet:
# GHC embeds full path for ffi includes without /usr/${CTARGET} account.
econf_args+=(--with-system-libffi)
econf_args+=(--with-ffi-includes=$(pkg-config libffi --cflags-only-I | sed -e 's@^-I@@'))
econf_args+=(--with-ffi-includes=$($(tc-getPKG_CONFIG) libffi --cflags-only-I | sed -e 's@^-I@@'))
fi

einfo "Final mk/build.mk:"
Expand Down

0 comments on commit 3823da0

Please sign in to comment.