From 12d356d589aa327bbee1339b23ac144c977f4e6c Mon Sep 17 00:00:00 2001 From: David Seifert Date: Mon, 19 Feb 2018 19:17:20 +0100 Subject: dev-cpp/libcmis: Always build in C++14 mode 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 | 7 +++++-- dev-cpp/libcmis/libcmis-9999.ebuild | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'dev-cpp') diff --git a/dev-cpp/libcmis/libcmis-0.5.2_pre20160820-r1.ebuild b/dev-cpp/libcmis/libcmis-0.5.2_pre20160820-r1.ebuild index ef3f07753294..8377602271d8 100644 --- a/dev-cpp/libcmis/libcmis-0.5.2_pre20160820-r1.ebuild +++ b/dev-cpp/libcmis/libcmis-0.5.2_pre20160820-r1.ebuild @@ -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 \ diff --git a/dev-cpp/libcmis/libcmis-9999.ebuild b/dev-cpp/libcmis/libcmis-9999.ebuild index 603a0334c7de..78e5b1990a3a 100644 --- a/dev-cpp/libcmis/libcmis-9999.ebuild +++ b/dev-cpp/libcmis/libcmis-9999.ebuild @@ -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 \ -- cgit v1.2.3-65-gdbad