From 6c1ddcec1e68b62f41dd56579b9debcb513bdf5e Mon Sep 17 00:00:00 2001 From: Jakov Smolić Date: Fri, 5 Nov 2021 19:27:19 +0100 Subject: sys-apps/spu-tools: Port to EAPI 8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/819243 Signed-off-by: Jakov Smolić --- sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'sys-apps') diff --git a/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild b/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild index e64a12c86a55..2955c689ee4c 100644 --- a/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild +++ b/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild @@ -1,35 +1,36 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 -inherit epatch flag-o-matic toolchain-funcs +inherit flag-o-matic toolchain-funcs -MY_P=${P/_p/-} +MY_P="${P/_p/-}" DESCRIPTION="CELL spu ps and top alike utilities" HOMEPAGE="https://sourceforge.net/projects/libspe" SRC_URI="mirror://sourceforge/libspe/${MY_P}.tar.gz" +S="${WORKDIR}/${PN}/src" LICENSE="GPL-2" SLOT="0" KEYWORDS="ppc ppc64" RDEPEND=" - sys-libs/ncurses:0= + sys-libs/ncurses:= " -DEPEND=" - ${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" sys-apps/help2man virtual/pkgconfig " -S="${WORKDIR}/${PN}/src" +PATCHES=( + "${FILESDIR}"/${P}-buildsystem.patch + "${FILESDIR}"/${P}-format-security.patch +) -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-buildsystem.patch \ - "${FILESDIR}"/${P}-format-security.patch +src_configure() { tc-export CC append-cppflags -std=gnu89 export CFLAGS="${CFLAGS}" -- cgit v1.2.3-65-gdbad