commit: 65eb166661ad1513dc8824985d2714da2e589f68 Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Mon Dec 13 17:14:49 2021 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Mon Dec 13 17:22:25 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65eb1666
dev-libs/rapidjson: Only set VALGRIND_EXECUTABLE if use test Closes: https://bugs.gentoo.org/828771 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild | 2 ++ dev-libs/rapidjson/rapidjson-9999.ebuild | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild index ac4033ac66cf..da68858dfa4f 100644 --- a/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild +++ b/dev-libs/rapidjson/rapidjson-1.1.0-r3.ebuild @@ -48,6 +48,8 @@ src_configure() { -DRAPIDJSON_BUILD_EXAMPLES=$(usex examples) -DRAPIDJSON_BUILD_TESTS=$(usex test) -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF + ) + use test && mycmakeargs+=( -DVALGRIND_EXECUTABLE= ) cmake_src_configure diff --git a/dev-libs/rapidjson/rapidjson-9999.ebuild b/dev-libs/rapidjson/rapidjson-9999.ebuild index 081c33172b8d..c13c44dc56c8 100644 --- a/dev-libs/rapidjson/rapidjson-9999.ebuild +++ b/dev-libs/rapidjson/rapidjson-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -49,6 +49,8 @@ src_configure() { -DRAPIDJSON_BUILD_EXAMPLES=$(usex examples) -DRAPIDJSON_BUILD_TESTS=$(usex test) -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF + ) + use test && mycmakeargs+=( -DVALGRIND_EXECUTABLE= ) cmake_src_configure