commit:     a54d848892e3cc60c4a172ceefdd15da614e54d8
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  2 18:43:07 2017 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Aug  3 17:33:04 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a54d8488

sci-libs/symengine: fix for cxxflags C++11

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 sci-libs/symengine/symengine-0.3.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.3.0.ebuild 
b/sci-libs/symengine/symengine-0.3.0.ebuild
index 5e0894d0d97..45298fd2cbb 100644
--- a/sci-libs/symengine/symengine-0.3.0.ebuild
+++ b/sci-libs/symengine/symengine-0.3.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit cmake-utils
+inherit cmake-utils flag-o-matic
 
 DESCRIPTION="Fast symbolic manipulation library, written in C++"
 HOMEPAGE="https://github.com/sympy/symengine";
@@ -67,5 +67,6 @@ src_configure() {
                -DWITH_PTHREAD="$(usex threads)"
                -DWITH_TCMALLOC="$(usex tcmalloc)"
        )
+       test-flag-CXX -std=c++11 && append-cxxflags -std=c++11
        CMAKE_BUILD_TYPE=Release cmake-utils_src_configure
 }

Reply via email to