commit: 754ffafbd840e580a30c67163f5ac4b725bbf88c Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> AuthorDate: Thu Jan 28 16:41:04 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Thu Jan 28 16:41:04 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=754ffafb
sci-mathematics/cipi: EAPI bump, fix compile phase Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> sci-mathematics/cipi/cipi-1.0.ebuild | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/sci-mathematics/cipi/cipi-1.0.ebuild b/sci-mathematics/cipi/cipi-1.0.ebuild index 2665a6837..2dae2c71a 100644 --- a/sci-mathematics/cipi/cipi-1.0.ebuild +++ b/sci-mathematics/cipi/cipi-1.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit cmake-utils +inherit cmake flag-o-matic DESCRIPTION="Computing information projections iteratively" HOMEPAGE="https://github.com/tom111/cipi" @@ -12,6 +12,7 @@ SRC_URI="https://github.com/tom111/cipi/archive/1.0.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" + IUSE="doc" DEPEND=" @@ -23,12 +24,17 @@ DOCS="AUTHORS README" CMAKE_IN_SOURCE_BUILD="yes" +src_prepare() { + cmake_src_prepare + append-ldflags -Wl,--copy-dt-needed-entries +} + src_configure() { mycmakeargs=( - $(cmake-utils_use_enable doc) + $(use_enable doc) ) - cmake-utils_src_configure + cmake_src_configure } pkg_postinst() {
