From: David Seifert Date: Sat, 26 May 2018 10:41:54 +0000 (+0200) Subject: dev-libs/zookeeper-c: Force C++11 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=663d2a572c06ac9ce18599aaf393c0466bd9a7d4;p=gentoo.git dev-libs/zookeeper-c: Force C++11 Closes: https://bugs.gentoo.org/652182 Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- diff --git a/dev-libs/zookeeper-c/zookeeper-c-3.4.10.ebuild b/dev-libs/zookeeper-c/zookeeper-c-3.4.10.ebuild index 6530a32be9e4..50be8b701a08 100644 --- a/dev-libs/zookeeper-c/zookeeper-c-3.4.10.ebuild +++ b/dev-libs/zookeeper-c/zookeeper-c-3.4.10.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 +inherit flag-o-matic + DESCRIPTION="C client interface to Zookeeper server" HOMEPAGE="https://zookeeper.apache.org/" SRC_URI="mirror://apache/zookeeper/zookeeper-${PV}/zookeeper-${PV}.tar.gz" @@ -20,6 +22,9 @@ DEPEND="${RDEPEND} S="${WORKDIR}/zookeeper-${PV}/src/c" src_configure() { + # bug 652182 + append-cxxflags -std=c++11 + econf \ $(use_enable static-libs static) \ $(use_with test cppunit) @@ -33,4 +38,8 @@ src_compile() { src_install() { default use doc && dohtml docs/html/* + + if ! use static-libs; then + find "${D}" -name '*.la' -delete || die + fi }