commit:     79df98bed45620214fe893bd8843a3ae1e579243
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 19 18:17:20 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 19:40:17 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79df98be

dev-libs/collada-dom: Always build in C++14 mode

Closes: https://bugs.gentoo.org/618960
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-libs/collada-dom/collada-dom-2.5.0.ebuild | 9 ++++++++-
 dev-libs/collada-dom/collada-dom-9999.ebuild  | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/dev-libs/collada-dom/collada-dom-2.5.0.ebuild 
b/dev-libs/collada-dom/collada-dom-2.5.0.ebuild
index 46cc5b8cffb..610f4d0ace1 100644
--- a/dev-libs/collada-dom/collada-dom-2.5.0.ebuild
+++ b/dev-libs/collada-dom/collada-dom-2.5.0.ebuild
@@ -9,7 +9,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then
        EGIT_REPO_URI="https://github.com/rdiankov/collada-dom";
 fi
 
-inherit ${SCM} cmake-utils
+inherit ${SCM} cmake-utils flag-o-matic
 
 if [ "${PV#9999}" != "${PV}" ] ; then
        KEYWORDS=""
@@ -38,3 +38,10 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
+
+src_configure() {
+       # bug 618960
+       append-cxxflags -std=c++14
+
+       cmake-utils_src_configure
+}

diff --git a/dev-libs/collada-dom/collada-dom-9999.ebuild 
b/dev-libs/collada-dom/collada-dom-9999.ebuild
index 46cc5b8cffb..610f4d0ace1 100644
--- a/dev-libs/collada-dom/collada-dom-9999.ebuild
+++ b/dev-libs/collada-dom/collada-dom-9999.ebuild
@@ -9,7 +9,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then
        EGIT_REPO_URI="https://github.com/rdiankov/collada-dom";
 fi
 
-inherit ${SCM} cmake-utils
+inherit ${SCM} cmake-utils flag-o-matic
 
 if [ "${PV#9999}" != "${PV}" ] ; then
        KEYWORDS=""
@@ -38,3 +38,10 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
+
+src_configure() {
+       # bug 618960
+       append-cxxflags -std=c++14
+
+       cmake-utils_src_configure
+}

Reply via email to