From 7c59acba5699c9c58090a7a738669669a7307023 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 21 Aug 2021 23:14:26 +0100 Subject: gentoo resync : 21.08.2021 --- sci-libs/coinor-os/coinor-os-2.10.1.ebuild | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'sci-libs/coinor-os/coinor-os-2.10.1.ebuild') diff --git a/sci-libs/coinor-os/coinor-os-2.10.1.ebuild b/sci-libs/coinor-os/coinor-os-2.10.1.ebuild index 2093e3961b62..792b443c5d97 100644 --- a/sci-libs/coinor-os/coinor-os-2.10.1.ebuild +++ b/sci-libs/coinor-os/coinor-os-2.10.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,6 +10,7 @@ MY_PN=OS DESCRIPTION="COIN-OR Optimization Services" HOMEPAGE="https://projects.coin-or.org/OS/" SRC_URI="http://www.coin-or.org/download/source/${MY_PN}/${MY_PN}-${PV}.tgz" +S="${WORKDIR}/${MY_PN}-${PV}/${MY_PN}" LICENSE="EPL-1.0" SLOT="0/6" @@ -32,9 +33,9 @@ DEPEND="${RDEPEND} doc? ( app-doc/doxygen[dot] ) test? ( sci-libs/coinor-sample )" -S="${WORKDIR}/${MY_PN}-${PV}/${MY_PN}" - -PATCHES=( "${FILESDIR}/${PN}-2.10.1-fix-c++14.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-2.10.1-fix-c++14.patch" +) src_prepare() { default @@ -46,6 +47,11 @@ src_prepare() { src_configure() { append-cppflags -DNDEBUG + # Can be dropped > 2.10.3 as patches landed upstream but don't + # apply cleanly to 2.10.1. + # bug #808793 + append-cxxflags -std=c++14 + econf \ --enable-shared \ $(use_enable static-libs static) \ -- cgit v1.2.3