From 1425204139824277aba7d26c12f193e373c7ffb8 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Wed, 30 Dec 2015 17:49:14 -0500 Subject: games-sports/xmoto: fix building with ode-0.13 (bug #569624) Package-Manager: portage-2.2.24 --- games-sports/xmoto/xmoto-0.5.11.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'games-sports') diff --git a/games-sports/xmoto/xmoto-0.5.11.ebuild b/games-sports/xmoto/xmoto-0.5.11.ebuild index 444ad496e786..5ecfe3db495b 100644 --- a/games-sports/xmoto/xmoto-0.5.11.ebuild +++ b/games-sports/xmoto/xmoto-0.5.11.ebuild @@ -51,8 +51,9 @@ src_prepare() { src_configure() { # bug #289792 - filter-flags -DdDOUBLE - has_version 'dev-games/ode[double-precision]' && append-flags -DdDOUBLE + filter-flags -DdDOUBLE -DdSINGLE + # bug #569624 - ode-0.13 needs one or the other defined + append-flags -Dd$(has_version 'dev-games/ode[double-precision]' && echo DOUBLE || echo SINGLE) egamesconf \ --enable-threads=posix \ -- cgit v1.2.3