summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-18 23:06:47 +0200
committerDavid Seifert <soap@gentoo.org>2021-06-18 23:06:47 +0200
commit3823da028a34af5605d1b662497abf4d421972fd (patch)
treedad19c1a3da03ccbfc72416e762c5ad9d1117882 /dev-lang
parentdev-libs/libzia: use BDEPEND for virtual/pkgconfig in EAPI 7 (diff)
downloadgentoo-3823da028a34af5605d1b662497abf4d421972fd.tar.gz
gentoo-3823da028a34af5605d1b662497abf4d421972fd.tar.bz2
gentoo-3823da028a34af5605d1b662497abf4d421972fd.zip
dev-lang/ghc: respect ${PKG_CONFIG}
Package-Manager: Portage-3.0.18-prefix, Repoman-3.0.3 Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ghc/ghc-8.8.4.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-lang/ghc/ghc-8.8.4.ebuild b/dev-lang/ghc/ghc-8.8.4.ebuild
index 8bf1fa84bbb7..a9315b6c5264 100644
--- a/dev-lang/ghc/ghc-8.8.4.ebuild
+++ b/dev-lang/ghc/ghc-8.8.4.ebuild
@@ -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:"