summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-07 06:11:16 +0100
committerSam James <sam@gentoo.org>2021-04-13 00:26:02 +0000
commit3e8a17d1e225b2c061313c30b9d0ec879509246a (patch)
tree805c5ce3118b6cefcde886c8143fae854dc7459c /app-i18n
parentapp-arch/xar: call pkg-config via toolchain-funcs.eclass helper (diff)
downloadgentoo-3e8a17d1e225b2c061313c30b9d0ec879509246a.tar.gz
gentoo-3e8a17d1e225b2c061313c30b9d0ec879509246a.tar.bz2
gentoo-3e8a17d1e225b2c061313c30b9d0ec879509246a.zip
app-i18n/canna: call pkg-config via toolchain-funcs.eclass helper
This ensures we call the correct pkg-config in e.g. cross. Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/canna/canna-3.7_p3-r3.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-i18n/canna/canna-3.7_p3-r3.ebuild b/app-i18n/canna/canna-3.7_p3-r3.ebuild
index a2494559aaaf..f36088baafd2 100644
--- a/app-i18n/canna/canna-3.7_p3-r3.ebuild
+++ b/app-i18n/canna/canna-3.7_p3-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -65,7 +65,7 @@ src_configure() {
cd canuum
xmkmf -a || die
# workaround for sys-libs/ncurses[tinfo]
- sed -i "/^TERMCAP_LIB/s:=.*:=$(pkg-config --libs ncurses):" Makefile
+ sed -i "/^TERMCAP_LIB/s:=.*:=$($(tc-getPKG_CONFIG) --libs ncurses):" Makefile
cd - > /dev/null
fi