From: Michael Sterrett Date: Wed, 30 Dec 2015 22:49:14 +0000 (-0500) Subject: games-sports/xmoto: fix building with ode-0.13 (bug #569624) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1425204139824277aba7d26c12f193e373c7ffb8;p=gentoo.git games-sports/xmoto: fix building with ode-0.13 (bug #569624) Package-Manager: portage-2.2.24 --- 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 \