summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2019-06-28 08:16:20 +0200
committerGuilherme Amadio <amadio@gentoo.org>2019-06-28 08:16:38 +0200
commita71d539897b018ba4b098bc17fb29b6359d21227 (patch)
tree6683e0bad5a175daaf9102fb2fefbb91ec74c4fc /sci-physics/root
parentdev-ruby/ruby_smb: add 1.1.0 (diff)
downloadgentoo-a71d539897b018ba4b098bc17fb29b6359d21227.tar.gz
gentoo-a71d539897b018ba4b098bc17fb29b6359d21227.tar.bz2
gentoo-a71d539897b018ba4b098bc17fb29b6359d21227.zip
sci-physics/root: fix C++ standard setting
Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'sci-physics/root')
-rw-r--r--sci-physics/root/root-6.18.00.ebuild2
-rw-r--r--sci-physics/root/root-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sci-physics/root/root-6.18.00.ebuild b/sci-physics/root/root-6.18.00.ebuild
index 24f874e28afe..9ce194c23498 100644
--- a/sci-physics/root/root-6.18.00.ebuild
+++ b/sci-physics/root/root-6.18.00.ebuild
@@ -140,7 +140,7 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- -DCMAKE_CXX_STANDARD=$(usev c++11 || usev c++14 || usev c++17 | cut -c4-)
+ -DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-)
-DPYTHON_EXECUTABLE="${PYTHON}"
-DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
-DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)"
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index f25802250274..ef22dfe2f86a 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -151,7 +151,7 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- -DCMAKE_CXX_STANDARD=$(usev c++11 || usev c++14 || usev c++17 | cut -c4-)
+ -DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-)
-DPYTHON_EXECUTABLE="${PYTHON}"
-DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
-DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)"