From a71d539897b018ba4b098bc17fb29b6359d21227 Mon Sep 17 00:00:00 2001 From: Guilherme Amadio Date: Fri, 28 Jun 2019 08:16:20 +0200 Subject: sci-physics/root: fix C++ standard setting Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Guilherme Amadio --- sci-physics/root/root-6.18.00.ebuild | 2 +- sci-physics/root/root-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sci-physics/root') 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)" -- cgit v1.2.3-65-gdbad