commit:     f8438748836c1f37a0d053ed7d3a0e2430d9e7bc
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  3 10:29:06 2022 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Sun Apr  3 10:44:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8438748

dev-libs/cereal: conditionally skip tests

Closes: https://bugs.gentoo.org/836688
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 dev-libs/cereal/cereal-1.3.2-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/cereal/cereal-1.3.2-r2.ebuild 
b/dev-libs/cereal/cereal-1.3.2-r2.ebuild
index 6082cdb4afaa..da3bf9c69469 100644
--- a/dev-libs/cereal/cereal-1.3.2-r2.ebuild
+++ b/dev-libs/cereal/cereal-1.3.2-r2.ebuild
@@ -42,10 +42,10 @@ src_configure() {
                -DSKIP_PERFORMANCE_COMPARISON=ON
 
                -DWITH_WERROR=OFF
-
-               # TODO: Enable if multilib?
-               -DSKIP_PORTABILITY_TEST=ON
        )
 
+       # TODO: Enable if multilib?
+       use test && mycmakeargs+=( -DSKIP_PORTABILITY_TEST=ON )
+
        cmake_src_configure
 }

Reply via email to