summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-12-30 17:49:14 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2015-12-30 17:49:14 -0500
commit1425204139824277aba7d26c12f193e373c7ffb8 (patch)
tree7a443298ec8d4ed273d165ece43393b0da1c2a3e /games-sports
parentprofiles: mask games-strategy/xbattle for removal (diff)
downloadgentoo-1425204139824277aba7d26c12f193e373c7ffb8.tar.gz
gentoo-1425204139824277aba7d26c12f193e373c7ffb8.tar.bz2
gentoo-1425204139824277aba7d26c12f193e373c7ffb8.zip
games-sports/xmoto: fix building with ode-0.13 (bug #569624)
Package-Manager: portage-2.2.24
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/xmoto/xmoto-0.5.11.ebuild5
1 files changed, 3 insertions, 2 deletions
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 \