diff options
author | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2022-05-03 20:24:33 +0200 |
---|---|---|
committer | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2022-05-03 22:21:34 +0200 |
commit | 7b70282eeb3573f6956a26591110a987d46af88e (patch) | |
tree | 4208366f3566f642129e7b988b35745cac019c79 /sci-mathematics/clasp | |
parent | sci-mathematics/aspcud: drop 1.9.5 (diff) | |
download | guru-7b70282eeb3573f6956a26591110a987d46af88e.tar.gz guru-7b70282eeb3573f6956a26591110a987d46af88e.tar.bz2 guru-7b70282eeb3573f6956a26591110a987d46af88e.zip |
sci-mathematics/clasp: use system catch
Closes: https://bugs.gentoo.org/842327
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sci-mathematics/clasp')
-rw-r--r-- | sci-mathematics/clasp/clasp-3.3.7.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sci-mathematics/clasp/clasp-3.3.7.ebuild b/sci-mathematics/clasp/clasp-3.3.7.ebuild index 7af818634..d4690201c 100644 --- a/sci-mathematics/clasp/clasp-3.3.7.ebuild +++ b/sci-mathematics/clasp/clasp-3.3.7.ebuild @@ -18,7 +18,10 @@ KEYWORDS="~amd64" IUSE="examples test +threads +tools" RDEPEND="sci-libs/libpotassco:=" -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + test? ( dev-cpp/catch:0 ) +" RESTRICT="!test? ( test )" PATCHES=( @@ -26,6 +29,11 @@ PATCHES=( "${FILESDIR}/${P}-libclasp_app.patch" ) +src_prepare() { + rm tests/catch.hpp || die + cmake_src_prepare +} + src_configure() { local mycmakeargs=( -DCLASP_BUILD_APP=$(usex tools) |