diff options
author | 2021-04-14 04:35:49 -0400 | |
---|---|---|
committer | 2021-04-15 09:38:51 +0300 | |
commit | e98152105039b86d7ffeb652a91f27d2513132f7 (patch) | |
tree | 76c3dc7f2e08bb3b7ac875427ab752c345fb46cc /games-arcade/xscavenger | |
parent | games-arcade/xboing: fix build with -native-symlinks (diff) | |
download | gentoo-e98152105039b86d7ffeb652a91f27d2513132f7.tar.gz gentoo-e98152105039b86d7ffeb652a91f27d2513132f7.tar.bz2 gentoo-e98152105039b86d7ffeb652a91f27d2513132f7.zip |
games-arcade/xscavenger: fix build with -native-symlinks
wrt bug #739120 with clang/llvm toolchain, it now gets past
ld/gcc missing but will fail due to traditional cpp.
Can workaround with a gcc exception: IMAKECPP=cpp
However will finally fail trivially due a lacking return
value in non-void main() that clang doesn't like.
Bug: https://bugs.gentoo.org/739120
Closes: https://bugs.gentoo.org/730814
Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'games-arcade/xscavenger')
-rw-r--r-- | games-arcade/xscavenger/xscavenger-1.4.4-r2.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/games-arcade/xscavenger/xscavenger-1.4.4-r2.ebuild b/games-arcade/xscavenger/xscavenger-1.4.4-r2.ebuild index 78c6be00a5a6..26f6aeae2f8d 100644 --- a/games-arcade/xscavenger/xscavenger-1.4.4-r2.ebuild +++ b/games-arcade/xscavenger/xscavenger-1.4.4-r2.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -BDEPEND="x11-misc/imake" +BDEPEND=">=x11-misc/imake-1.0.8-r1" RDEPEND="x11-libs/libXext" DEPEND="${RDEPEND}" @@ -33,7 +33,8 @@ src_prepare() { } src_configure() { - xmkmf || die + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die } src_compile() { |