app-text/libebook: Always build in C++14 mode
authorDavid Seifert <soap@gentoo.org>
Mon, 19 Feb 2018 18:17:19 +0000 (19:17 +0100)
committerDavid Seifert <soap@gentoo.org>
Mon, 19 Feb 2018 19:40:02 +0000 (20:40 +0100)
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
app-text/libebook/libebook-0.1.3.ebuild

index 53975fc2cc1e5b75df52890d823c90a19dfe8ebd..f7039345c935182e7b714553335affb8c5e819c0 100644 (file)
@@ -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 \
index e58db48faea18348abea9f63917be4e1e9393637..381b4866c424f28d401f3acd1072b7f0534ea4e5 100644 (file)
@@ -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 \