commit:     f218825807c87934ce211d5fa05721f01cbf53e8
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Wed Apr 14 14:28:05 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Apr 15 06:38:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2188258

x11-terms/kterm: fix build with -native-symlinks

Closes: https://bugs.gentoo.org/726244
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 x11-terms/kterm/kterm-6.2.0-r6.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/x11-terms/kterm/kterm-6.2.0-r6.ebuild 
b/x11-terms/kterm/kterm-6.2.0-r6.ebuild
index 8edbe912ce7..008593f2879 100644
--- a/x11-terms/kterm/kterm-6.2.0-r6.ebuild
+++ b/x11-terms/kterm/kterm-6.2.0-r6.ebuild
@@ -27,7 +27,7 @@ RDEPEND="app-text/rman
 DEPEND="${RDEPEND}
        virtual/pkgconfig
        x11-misc/gccmakedep
-       x11-misc/imake
+       >=x11-misc/imake-1.0.8-r1
 "
 
 PATCHES=(
@@ -45,7 +45,8 @@ src_prepare() {
 }
 
 src_configure() {
-       xmkmf -a || die
+       CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+               IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die
 }
 
 src_compile() {

Reply via email to