dev-cpp/libcmis: 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:11 +0000 (20:40 +0100)
Closes: https://bugs.gentoo.org/618778
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-cpp/libcmis/libcmis-0.5.2_pre20160820-r1.ebuild
dev-cpp/libcmis/libcmis-9999.ebuild

index ef3f07753294eb993f33bdae56120ac7cfeb90af..8377602271d81935a7b7ca6a753af058c4fd575b 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
@@ -14,7 +14,7 @@ elif [[ ${PV} = *_pre* ]]; then
 else
        SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 fi
-inherit alternatives autotools ${SCM_ECLASS}
+inherit alternatives autotools flag-o-matic ${SCM_ECLASS}
 unset SCM_ECLASS
 
 DESCRIPTION="C++ client library for the CMIS interface"
@@ -59,6 +59,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug 618778
+       append-cxxflags -std=c++14
+
        econf \
                --program-suffix=-${SLOT} \
                --disable-werror \
index 603a0334c7de2b51964b5403284966cbc8499ec6..78e5b1990a3ab21d54cc5e971c8e2fdc86c6d3ba 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
@@ -14,7 +14,7 @@ elif [[ ${PV} = *_pre* ]]; then
 else
        SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 fi
-inherit alternatives autotools ${SCM_ECLASS}
+inherit alternatives autotools flag-o-matic ${SCM_ECLASS}
 unset SCM_ECLASS
 
 DESCRIPTION="C++ client library for the CMIS interface"
@@ -57,6 +57,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug 618778
+       append-cxxflags -std=c++14
+
        econf \
                --program-suffix=-${SLOT} \
                --disable-werror \