1 |
commit: 26131763888b487694813b33de0eda81a6caf998 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 19 18:17:21 2018 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 19 19:40:47 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26131763 |
7 |
|
8 |
sci-libs/xdmf2: Always build in C++14 mode |
9 |
|
10 |
Closes: https://bugs.gentoo.org/619604 |
11 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
12 |
|
13 |
sci-libs/xdmf2/xdmf2-1.0_p141226-r1.ebuild | 7 +++++-- |
14 |
sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild | 7 +++++-- |
15 |
2 files changed, 10 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/xdmf2/xdmf2-1.0_p141226-r1.ebuild b/sci-libs/xdmf2/xdmf2-1.0_p141226-r1.ebuild |
18 |
index fc04d4922d9..a0cf89a2529 100644 |
19 |
--- a/sci-libs/xdmf2/xdmf2-1.0_p141226-r1.ebuild |
20 |
+++ b/sci-libs/xdmf2/xdmf2-1.0_p141226-r1.ebuild |
21 |
@@ -1,11 +1,11 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Copyright 1999-2018 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=5 |
27 |
|
28 |
PYTHON_COMPAT=( python2_7 ) |
29 |
|
30 |
-inherit cmake-utils multilib python-single-r1 |
31 |
+inherit cmake-utils flag-o-matic multilib python-single-r1 |
32 |
|
33 |
DESCRIPTION="eXtensible Data Model and Format" |
34 |
HOMEPAGE="http://xdmf.org/index.php/Main_Page" |
35 |
@@ -49,6 +49,9 @@ src_prepare() { |
36 |
} |
37 |
|
38 |
src_configure() { |
39 |
+ # bug 619604 |
40 |
+ append-cxxflags -std=c++14 |
41 |
+ |
42 |
local mycmakeargs=( |
43 |
$(cmake-utils_use doc XDMF_BUILD_DOCUMENTATION) |
44 |
$(cmake-utils_use_build test TESTING) |
45 |
|
46 |
diff --git a/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild b/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild |
47 |
index c7d39a5b0c8..605039d40cf 100644 |
48 |
--- a/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild |
49 |
+++ b/sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild |
50 |
@@ -1,11 +1,11 @@ |
51 |
-# Copyright 1999-2016 Gentoo Foundation |
52 |
+# Copyright 1999-2018 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
|
55 |
EAPI=6 |
56 |
|
57 |
PYTHON_COMPAT=( python2_7 ) |
58 |
|
59 |
-inherit cmake-utils python-single-r1 |
60 |
+inherit cmake-utils flag-o-matic python-single-r1 |
61 |
|
62 |
DESCRIPTION="eXtensible Data Model and Format" |
63 |
HOMEPAGE="http://xdmf.org/index.php/Main_Page" |
64 |
@@ -53,6 +53,9 @@ src_prepare() { |
65 |
} |
66 |
|
67 |
src_configure() { |
68 |
+ # bug 619604 |
69 |
+ append-cxxflags -std=c++14 |
70 |
+ |
71 |
local mycmakeargs=( |
72 |
-DBUILD_SHARED_LIBS=1 |
73 |
-DXDMF_BUILD_DOCUMENTATION=$(usex doc) |