commit: 5a0f0ab3e640474622053811d2351830f2cdacd1 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Dec 4 01:30:11 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Dec 4 01:30:11 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a0f0ab3
sci-libs/libqalculate: conditionally build tests Signed-off-by: Sam James <sam <AT> gentoo.org> sci-libs/libqalculate/libqalculate-3.22.0.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sci-libs/libqalculate/libqalculate-3.22.0.ebuild b/sci-libs/libqalculate/libqalculate-3.22.0.ebuild index e6ab4295c515..0ffd8ea2aa13 100644 --- a/sci-libs/libqalculate/libqalculate-3.22.0.ebuild +++ b/sci-libs/libqalculate/libqalculate-3.22.0.ebuild @@ -15,7 +15,8 @@ LICENSE="GPL-2" # SONAME changes pretty often on bumps. Check! SLOT="0/22" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="curl icu gnuplot readline" +IUSE="curl icu gnuplot readline test" +RESTRICT="!test? ( test )" DEPEND=" dev-libs/gmp:0= @@ -57,7 +58,8 @@ src_configure() { tc-export CC econf \ - --disable-static \ + $(use_enable test tests) \ + $(use_enable test unittests) \ $(use_with curl libcurl) \ $(use_with gnuplot gnuplot-call) \ $(use_with icu) \