summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-04-14 08:12:16 -0400
committerJoonas Niilola <juippis@gentoo.org>2021-04-15 09:38:55 +0300
commit5615f08d070671875b2cd7f2932cd73ae432c751 (patch)
tree57fadc8e47edab6e5d269d45f5e95b6998c62ceb /x11-misc
parentsci-chemistry/rasmol: fix build with -native-symlinks (diff)
downloadgentoo-5615f08d070671875b2cd7f2932cd73ae432c751.tar.gz
gentoo-5615f08d070671875b2cd7f2932cd73ae432c751.tar.bz2
gentoo-5615f08d070671875b2cd7f2932cd73ae432c751.zip
x11-misc/dclock: fix build with -native-symlinks
Closes: https://bugs.gentoo.org/726136 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/dclock/dclock-2.2.2_p12.ebuild5
1 files 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 f716d8cf1f53..aa4f9a6f28fd 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() {