commit: 28291a79c8c9d1892b55e11c001ffb929c3f22d0 Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> AuthorDate: Wed Apr 14 12:30:48 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Thu Apr 15 06:38:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28291a79
x11-misc/xbatt: fix build with -native-symlinks Closes: https://bugs.gentoo.org/726220 Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com> Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> x11-misc/xbatt/xbatt-1.3_rc1.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/x11-misc/xbatt/xbatt-1.3_rc1.ebuild b/x11-misc/xbatt/xbatt-1.3_rc1.ebuild index 75a3899848d..df26d01cbd2 100644 --- a/x11-misc/xbatt/xbatt-1.3_rc1.ebuild +++ b/x11-misc/xbatt/xbatt-1.3_rc1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -24,15 +24,19 @@ RDEPEND=" DEPEND=" ${RDEPEND} x11-base/xorg-proto - x11-misc/imake + >=x11-misc/imake-1.0.8-r1 " PATCHES=( "${FILESDIR}"/${PN}-1.2.1-implicits.patch ) S="${WORKDIR}"/${PN}-$(ver_cut 1-2) +src_configure() { + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die +} + src_compile() { - xmkmf || die emake \ CC="$(tc-getCC)" \ CDEBUGFLAGS="${CFLAGS}" \
