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

sci-libs/libdap/libdap-3.18.1.ebuild

index b0a4bfc02ba24367793af6540292a56f75795c01..c0680c183d37898cc29f7ebc3794c9021129086b 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 autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Implementation of a C++ SDK for DAP 2.0 and 3.2"
 HOMEPAGE="http://opendap.org/"
@@ -38,6 +38,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug 619144
+       append-cxxflags -std=c++14
+
        econf \
                --enable-shared \
                $(use_enable static-libs static)