summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-03-08 16:42:55 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-03-08 17:01:30 +0100
commit1b1ddcb4a9746a55216d63b20c54ca42198f8c45 (patch)
tree763363df95d627fb05b3f3dad767cac350e1aa4d /sci-libs
parentdev-python/symengine: Drop 0.5.1 (r0) (diff)
downloadgentoo-1b1ddcb4a9746a55216d63b20c54ca42198f8c45.tar.gz
gentoo-1b1ddcb4a9746a55216d63b20c54ca42198f8c45.tar.bz2
gentoo-1b1ddcb4a9746a55216d63b20c54ca42198f8c45.zip
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 <asturm@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/symengine/symengine-0.5.0.ebuild3
1 files changed, 2 insertions, 1 deletions
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
}