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

media-libs/musicbrainz/musicbrainz-5.1.0.ebuild

index 2a0a69f4568b5dab26090d6fae9c2eb37b0a8590..92bbfd2203fa40be15557d2b7544777c65bd324b 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit cmake-utils
+inherit cmake-utils flag-o-matic
 
 DESCRIPTION="Client Library for accessing the latest XML based MusicBrainz web service"
 HOMEPAGE="https://musicbrainz.org/doc/libmusicbrainz"
@@ -29,6 +29,13 @@ src_prepare() {
        cmake-utils_src_prepare
 }
 
+src_configure() {
+       # bug 619668
+       append-cxxflags -std=c++14
+
+       cmake-utils_src_configure
+}
+
 src_install() {
        cmake-utils_src_install