From 6e93bb3d0ad5afacbff8fd0cf0de48d92f2fa388 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Wed, 14 Apr 2021 05:54:21 -0400 Subject: media-fonts/x11fonts-jmk: fix build with -native-symlinks Closes: https://bugs.gentoo.org/730928 Signed-off-by: Ionen Wolkens Signed-off-by: Joonas Niilola --- media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'media-fonts/x11fonts-jmk') diff --git a/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild b/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild index a93ce57a9f47..0673462a08fd 100644 --- a/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild +++ b/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit font +inherit font toolchain-funcs MY_P="jmk-x11-fonts-${PV}" @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="~alpha amd64 arm ~ia64 ppc ~s390 sparc x86" BDEPEND=" - x11-misc/imake + >=x11-misc/imake-1.0.8-r1 >=x11-apps/mkfontscale-1.2.0 x11-apps/bdftopcf" @@ -25,9 +25,9 @@ PATCHES=( "${FILESDIR}"/gzip.patch ) S="${WORKDIR}/${MY_P}" -src_compile() { - xmkmf || die - default +src_configure() { + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die } src_install() { -- cgit v1.2.3-65-gdbad