sci-calculators/hexcalc: fix build with -native-symlinks

Closes: https://bugs.gentoo.org/725330
Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Ionen Wolkens
2021-04-14 07:19:56 -04:00
committed by Joonas Niilola
parent 9d02b021fb
commit ef7a79a4c8

View File

@@ -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}" \