mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sys-apps/spu-tools: Fix building with GCC-5.
Package-Manager: portage-2.3.1
This commit is contained in:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user