summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-04-14 05:23:54 -0400
committerJoonas Niilola <juippis@gentoo.org>2021-04-15 09:38:52 +0300
commitfd418fa2dc5602a88001b9e327b304e70f9501d9 (patch)
tree35528e46f916f859d8aa46ed89895a00808e7a27 /games-board/xskat/xskat-4.0-r1.ebuild
parentgames-board/xscrabble: fix build with -native-symlinks (diff)
downloadgentoo-fd418fa2dc5602a88001b9e327b304e70f9501d9.tar.gz
gentoo-fd418fa2dc5602a88001b9e327b304e70f9501d9.tar.bz2
gentoo-fd418fa2dc5602a88001b9e327b304e70f9501d9.zip
games-board/xskat: fix build with -native-symlinks
Closes: https://bugs.gentoo.org/730830 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'games-board/xskat/xskat-4.0-r1.ebuild')
-rw-r--r--games-board/xskat/xskat-4.0-r1.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/games-board/xskat/xskat-4.0-r1.ebuild b/games-board/xskat/xskat-4.0-r1.ebuild
index 517567ee1cf1..20a59e4c87ba 100644
--- a/games-board/xskat/xskat-4.0-r1.ebuild
+++ b/games-board/xskat/xskat-4.0-r1.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
@@ -18,11 +18,11 @@ RDEPEND="media-fonts/font-misc-misc
DEPEND="${RDEPEND}
x11-base/xorg-proto
x11-misc/gccmakedep
- x11-misc/imake"
+ >=x11-misc/imake-1.0.8-r1"
-src_prepare() {
- default
- xmkmf -a || die
+src_configure() {
+ CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+ IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die
}
src_compile() {