sci-libs/xdmf2: Always build in C++14 mode
authorDavid Seifert <soap@gentoo.org>
Mon, 19 Feb 2018 18:17:21 +0000 (19:17 +0100)
committerDavid Seifert <soap@gentoo.org>
Mon, 19 Feb 2018 19:40:47 +0000 (20:40 +0100)
Closes: https://bugs.gentoo.org/619604
Package-Manager: Portage-2.3.24, Repoman-2.3.6

sci-libs/xdmf2/xdmf2-1.0_p141226-r1.ebuild
sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild

index fc04d4922d930e9d81aa0e3ff3f05be5949aa73b..a0cf89a252991cd8a6f8e4e89cb40f8378148177 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit cmake-utils multilib python-single-r1
+inherit cmake-utils flag-o-matic multilib python-single-r1
 
 DESCRIPTION="eXtensible Data Model and Format"
 HOMEPAGE="http://xdmf.org/index.php/Main_Page"
@@ -49,6 +49,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug 619604
+       append-cxxflags -std=c++14
+
        local mycmakeargs=(
                $(cmake-utils_use doc XDMF_BUILD_DOCUMENTATION)
                $(cmake-utils_use_build test TESTING)
index c7d39a5b0c8cb6807a75bcc033273b16956b41e5..605039d40cff835ddce919cfd4862f0850a3278a 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit cmake-utils python-single-r1
+inherit cmake-utils flag-o-matic python-single-r1
 
 DESCRIPTION="eXtensible Data Model and Format"
 HOMEPAGE="http://xdmf.org/index.php/Main_Page"
@@ -53,6 +53,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug 619604
+       append-cxxflags -std=c++14
+
        local mycmakeargs=(
                -DBUILD_SHARED_LIBS=1
                -DXDMF_BUILD_DOCUMENTATION=$(usex doc)