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

app-text/libebook: Always build in C++14 mode

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

 app-text/libebook/libebook-0.1.2-r1.ebuild | 7 +++++--
 app-text/libebook/libebook-0.1.3.ebuild    | 5 ++++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/app-text/libebook/libebook-0.1.2-r1.ebuild 
b/app-text/libebook/libebook-0.1.2-r1.ebuild
index 53975fc2cc1..f7039345c93 100644
--- a/app-text/libebook/libebook-0.1.2-r1.ebuild
+++ b/app-text/libebook/libebook-0.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
 MY_PN="libe-book"
 MY_P="${MY_PN}-${PV}"
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Library parsing various ebook formats"
 HOMEPAGE="http://www.sourceforge.net/projects/libebook/";
@@ -45,6 +45,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug 618854
+       append-cxxflags -std=c++14
+
        econf \
                --disable-static \
                --disable-werror \

diff --git a/app-text/libebook/libebook-0.1.3.ebuild 
b/app-text/libebook/libebook-0.1.3.ebuild
index e58db48faea..381b4866c42 100644
--- a/app-text/libebook/libebook-0.1.3.ebuild
+++ b/app-text/libebook/libebook-0.1.3.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 MY_PN="libe-book"
 MY_P="${MY_PN}-${PV}"
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Library parsing various ebook formats"
 HOMEPAGE="http://www.sourceforge.net/projects/libebook/";
@@ -41,6 +41,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug 618854
+       append-cxxflags -std=c++14
+
        econf \
                --disable-static \
                --disable-werror \

Reply via email to