dev-libs/librevenge: Force C++11
authorDavid Seifert <soap@gentoo.org>
Sat, 26 May 2018 13:13:54 +0000 (15:13 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 26 May 2018 22:18:16 +0000 (00:18 +0200)
Closes: https://bugs.gentoo.org/651264
Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-libs/librevenge/librevenge-0.0.4-r1.ebuild
dev-libs/librevenge/librevenge-9999.ebuild

index 46b91347dad22e9e2d895280d7119b91ef78743a..41207196a5237077714cbd82d67ab73efc7ad30f 100644 (file)
@@ -3,15 +3,15 @@
 
 EAPI=6
 
-inherit multilib-minimal
+inherit flag-o-matic multilib-minimal
 
 DESCRIPTION="A helper library for REVerse ENGineered formats filters"
-HOMEPAGE="http://sf.net/p/libwpd/librevenge"
+HOMEPAGE="https://sf.net/p/libwpd/librevenge"
 if [[ ${PV} == *9999 ]] ; then
        EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/librevenge"
        inherit git-r3 autotools
 else
-       SRC_URI="http://sf.net/projects/libwpd/files/${PN}/${P}/${P}.tar.xz"
+       SRC_URI="https://sf.net/projects/libwpd/files/${PN}/${P}/${P}.tar.xz"
        KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 x86 ~x86-fbsd"
 fi
 
@@ -31,6 +31,9 @@ DEPEND="${RDEPEND}
 src_prepare() {
        default
        [[ ${PV} = *9999 ]] && eautoreconf
+
+       # bug 651264
+       append-cxxflags -std=c++11
 }
 
 multilib_src_configure() {
index b9e35af3318d522aed3c2056966c1804027e8743..c40659225a0bedd626851360c643fe68cb65647c 100644 (file)
@@ -1,17 +1,17 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit multilib-minimal
+inherit flag-o-matic multilib-minimal
 
 DESCRIPTION="A helper library for REVerse ENGineered formats filters"
-HOMEPAGE="http://sf.net/p/libwpd/librevenge"
+HOMEPAGE="https://sf.net/p/libwpd/librevenge"
 if [[ ${PV} == *9999 ]] ; then
        EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/librevenge"
        inherit git-r3 autotools
 else
-       SRC_URI="http://sf.net/projects/libwpd/files/${PN}/${P}/${P}.tar.xz"
+       SRC_URI="https://sf.net/projects/libwpd/files/${PN}/${P}/${P}.tar.xz"
        KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~x86 ~x86-fbsd"
 fi
 
@@ -31,6 +31,9 @@ DEPEND="${RDEPEND}
 src_prepare() {
        default
        [[ ${PV} = *9999 ]] && eautoreconf
+
+       # bug 651264
+       append-cxxflags -std=c++11
 }
 
 multilib_src_configure() {