From 2c987ea2946b7e08c543e48a0729bb9fdc1f1fb2 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Mon, 10 Oct 2016 11:10:52 +0200 Subject: sys-apps/spu-tools: Fix building with GCC-5. Package-Manager: portage-2.3.1 --- sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'sys-apps/spu-tools') 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 c5b73f1bacbd..c67eaa47d9fd 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,10 +1,10 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -inherit eutils toolchain-funcs +inherit eutils flag-o-matic toolchain-funcs MY_P=${P/_p/-} @@ -15,11 +15,14 @@ SRC_URI="mirror://sourceforge/libspe/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="ppc ppc64" -IUSE="" -RDEPEND="sys-libs/ncurses:0=" -DEPEND="${RDEPEND} - sys-apps/help2man" +RDEPEND=" + sys-libs/ncurses:0= +" +DEPEND=" + ${RDEPEND} + sys-apps/help2man +" S="${WORKDIR}/${PN}/src" @@ -28,6 +31,7 @@ src_prepare() { "${FILESDIR}"/${P}-buildsystem.patch \ "${FILESDIR}"/${P}-format-security.patch tc-export CC + append-cppflags -std=gnu89 export CFLAGS="${CFLAGS}" export LDFLAGS="${LDFLAGS}" export LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" -- cgit v1.2.3-65-gdbad