From f8438748836c1f37a0d053ed7d3a0e2430d9e7bc Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Sun, 3 Apr 2022 11:29:06 +0100 Subject: [PATCH] dev-libs/cereal: conditionally skip tests Closes: https://bugs.gentoo.org/836688 Signed-off-by: Matthew Smith --- 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 6082cdb4afaaf..da3bf9c69469b 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 }