commit:     5615f08d070671875b2cd7f2932cd73ae432c751
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Wed Apr 14 12:12:16 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Apr 15 06:38:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5615f08d

x11-misc/dclock: fix build with -native-symlinks

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

 x11-misc/dclock/dclock-2.2.2_p12.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/x11-misc/dclock/dclock-2.2.2_p12.ebuild 
b/x11-misc/dclock/dclock-2.2.2_p12.ebuild
index f716d8cf1f5..aa4f9a6f28f 100644
--- a/x11-misc/dclock/dclock-2.2.2_p12.ebuild
+++ b/x11-misc/dclock/dclock-2.2.2_p12.ebuild
@@ -30,7 +30,7 @@ DEPEND="
 "
 BDEPEND="
        app-text/rman
-       x11-misc/imake
+       >=x11-misc/imake-1.0.8-r1
        xft? ( virtual/pkgconfig )
 "
 S=${WORKDIR}/${P/_p*/}
@@ -53,7 +53,8 @@ src_configure() {
                sed -i -e '/EXTRA_LIBRARIES/s|^|#|g' Imakefile || die
        fi
 
-       xmkmf || die
+       CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+               IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die
 }
 
 src_compile() {

Reply via email to