commit:     8995ab51a11cd8df60be49303ac9e61234dc9eae
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 12 12:51:17 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Oct 12 12:51:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8995ab51

sci-physics/bullet: bring back USE flag for double-precision

 - some silent revdeps break with it, still too experimental.

Bug: https://bugs.gentoo.org/747898
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sci-physics/bullet/bullet-3.05.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-physics/bullet/bullet-3.05.ebuild 
b/sci-physics/bullet/bullet-3.05.ebuild
index 1361eaaff57..0ba0a2d387c 100644
--- a/sci-physics/bullet/bullet-3.05.ebuild
+++ b/sci-physics/bullet/bullet-3.05.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/bulletphysics/bullet3/archive/${PV}.tar.gz -> ${P}.t
 LICENSE="ZLIB"
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples openmp tbb test threads"
+IUSE="doc double-precision examples openmp tbb test threads"
 
 REQUIRED_USE="
        openmp? ( threads )
@@ -60,7 +60,7 @@ src_configure() {
                -DINSTALL_LIBS=ON
                -DBUILD_BULLET3=ON
                -DBUILD_EXTRAS=OFF
-               -DUSE_DOUBLE_PRECISION=ON
+               -DUSE_DOUBLE_PRECISION=$(usex double-precision)
                -DBUILD_UNIT_TESTS=$(usex test)
                -DBULLET2_MULTITHREADING=$(usex threads)
                -DBULLET2_USE_OPEN_MP_MULTITHREADING=$(usex openmp)

Reply via email to