From: Andreas Sturmlechner Date: Sun, 8 Mar 2020 15:42:55 +0000 (+0100) Subject: sci-libs/symengine: Fix unused cmake var warning X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1b1ddcb4a9746a55216d63b20c54ca42198f8c45;p=gentoo.git sci-libs/symengine: Fix unused cmake var warning Closes: https://bugs.gentoo.org/659512 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner --- diff --git a/sci-libs/symengine/symengine-0.5.0.ebuild b/sci-libs/symengine/symengine-0.5.0.ebuild index 5949ae7acbbe..15ce10116775 100644 --- a/sci-libs/symengine/symengine-0.5.0.ebuild +++ b/sci-libs/symengine/symengine-0.5.0.ebuild @@ -56,7 +56,6 @@ src_configure() { int_class=gmp fi local mycmakeargs=( - -DARB_INCLUDE_DIR="${EPREFIX}/usr/include" -DINTEGER_CLASS="${int_class}" -DBUILD_BENCHMARKS="$(usex benchmarks)" -DBUILD_DOXYGEN="$(usex doc)" @@ -74,6 +73,8 @@ src_configure() { -DWITH_TCMALLOC="$(usex tcmalloc)" -DWITH_ECM="$(usex ecm)" ) + use arb && mycmakeargs+=( -DARB_INCLUDE_DIR="${EPREFIX}/usr/include" ) + test-flag-CXX -std=c++11 && append-cxxflags -std=c++11 cmake_src_configure }