sci-libs/symengine: fix for cxxflags C++11
authorSébastien Fabbro <bicatali@gentoo.org>
Wed, 2 Aug 2017 18:43:07 +0000 (18:43 +0000)
committerSébastien Fabbro <bicatali@gentoo.org>
Thu, 3 Aug 2017 17:33:04 +0000 (17:33 +0000)
Package-Manager: Portage-2.3.6, Repoman-2.3.3

sci-libs/symengine/symengine-0.3.0.ebuild

index 5e0894d0d97a3dc5f5be4c83a53142c3fd3e255d..45298fd2cbb798d3091e84a066a2146a5a5d63aa 100644 (file)
@@ -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
 }