From ef7a79a4c856d9737cd85bcae0b934a58a5ea115 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Wed, 14 Apr 2021 07:19:56 -0400 Subject: sci-calculators/hexcalc: fix build with -native-symlinks Closes: https://bugs.gentoo.org/725330 Signed-off-by: Ionen Wolkens Signed-off-by: Joonas Niilola --- sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild b/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild index e76181650805..c9740ad088e8 100644 --- a/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild +++ b/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -16,15 +16,19 @@ IUSE="" RDEPEND="x11-libs/libXaw" DEPEND="${RDEPEND} - x11-misc/imake + >=x11-misc/imake-1.0.8-r1 app-text/rman" S=${WORKDIR}/${PN} PATCHES=( "${FILESDIR}"/${PN}-{keypad,order}.diff ) +src_configure() { + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die +} + src_compile() { - xmkmf || die emake \ CC="$(tc-getCC)" \ CFLAGS="${CFLAGS}" \ -- cgit v1.2.3-65-gdbad