1 |
commit: a71d539897b018ba4b098bc17fb29b6359d21227 |
2 |
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 28 06:16:20 2019 +0000 |
4 |
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 28 06:16:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71d5398 |
7 |
|
8 |
sci-physics/root: fix C++ standard setting |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.16 |
11 |
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org> |
12 |
|
13 |
sci-physics/root/root-6.18.00.ebuild | 2 +- |
14 |
sci-physics/root/root-9999.ebuild | 2 +- |
15 |
2 files changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/sci-physics/root/root-6.18.00.ebuild b/sci-physics/root/root-6.18.00.ebuild |
18 |
index 24f874e28af..9ce194c2349 100644 |
19 |
--- a/sci-physics/root/root-6.18.00.ebuild |
20 |
+++ b/sci-physics/root/root-6.18.00.ebuild |
21 |
@@ -140,7 +140,7 @@ src_configure() { |
22 |
local mycmakeargs=( |
23 |
-DCMAKE_C_FLAGS="${CFLAGS}" |
24 |
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" |
25 |
- -DCMAKE_CXX_STANDARD=$(usev c++11 || usev c++14 || usev c++17 | cut -c4-) |
26 |
+ -DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-) |
27 |
-DPYTHON_EXECUTABLE="${PYTHON}" |
28 |
-DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")" |
29 |
-DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)" |
30 |
|
31 |
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild |
32 |
index f2580225027..ef22dfe2f86 100644 |
33 |
--- a/sci-physics/root/root-9999.ebuild |
34 |
+++ b/sci-physics/root/root-9999.ebuild |
35 |
@@ -151,7 +151,7 @@ src_configure() { |
36 |
local mycmakeargs=( |
37 |
-DCMAKE_C_FLAGS="${CFLAGS}" |
38 |
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" |
39 |
- -DCMAKE_CXX_STANDARD=$(usev c++11 || usev c++14 || usev c++17 | cut -c4-) |
40 |
+ -DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-) |
41 |
-DPYTHON_EXECUTABLE="${PYTHON}" |
42 |
-DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")" |
43 |
-DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)" |