diff options
author | Sam James <sam@gentoo.org> | 2021-12-04 01:30:11 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-04 01:30:11 +0000 |
commit | 5a0f0ab3e640474622053811d2351830f2cdacd1 (patch) | |
tree | 6a5a921a5efdde6261952a2431e7035b9c049233 /sci-libs/libqalculate | |
parent | sci-calculators/qalculate-gtk: add 3.22.0 (diff) | |
download | gentoo-5a0f0ab3e640474622053811d2351830f2cdacd1.tar.gz gentoo-5a0f0ab3e640474622053811d2351830f2cdacd1.tar.bz2 gentoo-5a0f0ab3e640474622053811d2351830f2cdacd1.zip |
sci-libs/libqalculate: conditionally build tests
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/libqalculate')
-rw-r--r-- | sci-libs/libqalculate/libqalculate-3.22.0.ebuild | 6 |
1 files 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) \ |