1 |
commit: 1425204139824277aba7d26c12f193e373c7ffb8 |
2 |
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 30 22:49:14 2015 +0000 |
4 |
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 30 22:49:14 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14252041 |
7 |
|
8 |
games-sports/xmoto: fix building with ode-0.13 (bug #569624) |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
games-sports/xmoto/xmoto-0.5.11.ebuild | 5 +++-- |
13 |
1 file changed, 3 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/games-sports/xmoto/xmoto-0.5.11.ebuild b/games-sports/xmoto/xmoto-0.5.11.ebuild |
16 |
index 444ad49..5ecfe3d 100644 |
17 |
--- a/games-sports/xmoto/xmoto-0.5.11.ebuild |
18 |
+++ b/games-sports/xmoto/xmoto-0.5.11.ebuild |
19 |
@@ -51,8 +51,9 @@ src_prepare() { |
20 |
|
21 |
src_configure() { |
22 |
# bug #289792 |
23 |
- filter-flags -DdDOUBLE |
24 |
- has_version 'dev-games/ode[double-precision]' && append-flags -DdDOUBLE |
25 |
+ filter-flags -DdDOUBLE -DdSINGLE |
26 |
+ # bug #569624 - ode-0.13 needs one or the other defined |
27 |
+ append-flags -Dd$(has_version 'dev-games/ode[double-precision]' && echo DOUBLE || echo SINGLE) |
28 |
|
29 |
egamesconf \ |
30 |
--enable-threads=posix \ |