From 4ffa10f6a70318d6b036be816b8da47711eeebb7 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 4 Jan 2020 11:14:15 +0100 Subject: */*: Switch sci-biology proj to cmake.eclass Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner --- sci-libs/symengine/symengine-0.5.0.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sci-libs/symengine') diff --git a/sci-libs/symengine/symengine-0.5.0.ebuild b/sci-libs/symengine/symengine-0.5.0.ebuild index 725e60e3d7f9..6b84f4677d6c 100644 --- a/sci-libs/symengine/symengine-0.5.0.ebuild +++ b/sci-libs/symengine/symengine-0.5.0.ebuild @@ -3,7 +3,8 @@ EAPI=7 -inherit cmake-utils flag-o-matic +CMAKE_BUILD_TYPE=Release +inherit cmake flag-o-matic DESCRIPTION="Fast symbolic manipulation library, written in C++" HOMEPAGE="https://github.com/sympy/symengine" @@ -33,7 +34,7 @@ pkg_pretend() { } src_prepare() { - cmake-utils_src_prepare + cmake_src_prepare sed -e "s|DESTINATION doc| DESTINATION share/doc/${PF}/html|" \ -e "s|/lib|/$(get_libdir)|g" \ -e "s|lib/|$(get_libdir)/|g" \ @@ -57,7 +58,6 @@ src_configure() { local mycmakeargs=( -DARB_INCLUDE_DIR="${EPREFIX}/usr/include" -DINTEGER_CLASS="${int_class}" - -DBUILD_SHARED_LIBS=ON -DBUILD_BENCHMARKS="$(usex benchmarks)" -DBUILD_DOXYGEN="$(usex doc)" -DBUILD_TESTS="$(usex test)" @@ -75,5 +75,5 @@ src_configure() { -DWITH_ECM="$(usex ecm)" ) test-flag-CXX -std=c++11 && append-cxxflags -std=c++11 - CMAKE_BUILD_TYPE=Release cmake-utils_src_configure + cmake_src_configure } -- cgit v1.2.3-65-gdbad