1 |
commit: 530986e9eaf2fb8f4ef556737e89b0e1d8cab6e2 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 1 17:56:38 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 1 18:03:52 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=530986e9 |
7 |
|
8 |
sci-mathematics/gmm: Build in C++14 mode |
9 |
|
10 |
Bug: https://bugs.gentoo.org/show_bug.cgi?id=612294 |
11 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
12 |
|
13 |
sci-mathematics/gmm/gmm-5.1.ebuild | 9 +++++++++ |
14 |
1 file changed, 9 insertions(+) |
15 |
|
16 |
diff --git a/sci-mathematics/gmm/gmm-5.1.ebuild b/sci-mathematics/gmm/gmm-5.1.ebuild |
17 |
index f815c774330..3165e306952 100644 |
18 |
--- a/sci-mathematics/gmm/gmm-5.1.ebuild |
19 |
+++ b/sci-mathematics/gmm/gmm-5.1.ebuild |
20 |
@@ -3,6 +3,8 @@ |
21 |
|
22 |
EAPI=6 |
23 |
|
24 |
+inherit flag-o-matic |
25 |
+ |
26 |
DESCRIPTION="Generic C++ template library for sparse, dense and skyline matrices" |
27 |
SRC_URI="http://download.gna.org/getfem/stable/${P}.tar.gz" |
28 |
HOMEPAGE="http://www-gmm.insa-toulouse.fr/getfem/" |
29 |
@@ -11,3 +13,10 @@ LICENSE="|| ( LGPL-3 LGPL-3-with-linking-exception )" |
30 |
SLOT="0" |
31 |
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
32 |
IUSE="" |
33 |
+ |
34 |
+src_configure() { |
35 |
+ # required for tests, #612294 |
36 |
+ append-cxxflags -std=c++14 |
37 |
+ |
38 |
+ default |
39 |
+} |