mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
sci-mathematics/clasp: use system catch
Closes: https://bugs.gentoo.org/842327 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user