commit: 1425204139824277aba7d26c12f193e373c7ffb8
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 30 22:49:14 2015 +0000
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Wed Dec 30 22:49:14 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14252041
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(-)
diff --git a/games-sports/xmoto/xmoto-0.5.11.ebuild
b/games-sports/xmoto/xmoto-0.5.11.ebuild
index 444ad49..5ecfe3d 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 \