diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2016-03-31 12:48:39 -0400 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2016-03-31 12:48:39 -0400 |
commit | 1e4e3a1f0232487113a58eee262a65ffd64c19cb (patch) | |
tree | dcff6b5f276295e77dcd3804d38e47fa9d637861 /games-emulation/gcube | |
parent | games-simulation/lincity: build with gcc5 (bug #570574) (diff) | |
download | gentoo-1e4e3a1f0232487113a58eee262a65ffd64c19cb.tar.gz gentoo-1e4e3a1f0232487113a58eee262a65ffd64c19cb.tar.bz2 gentoo-1e4e3a1f0232487113a58eee262a65ffd64c19cb.zip |
games-emulation/gcube: build with gcc5 (bug #570504)
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-emulation/gcube')
-rw-r--r-- | games-emulation/gcube/gcube-0.4-r1.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/games-emulation/gcube/gcube-0.4-r1.ebuild b/games-emulation/gcube/gcube-0.4-r1.ebuild index 716caf3138f8..19b5b5f2a43a 100644 --- a/games-emulation/gcube/gcube-0.4-r1.ebuild +++ b/games-emulation/gcube/gcube-0.4-r1.ebuild @@ -1,35 +1,35 @@ -# 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 games +inherit eutils flag-o-matic games DESCRIPTION="Gamecube emulator" HOMEPAGE="http://gcube.exemu.net/" SRC_URI="http://gcube.exemu.net/downloads/${P}-src.tar.bz2" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 ~ppc x86" IUSE="" DEPEND="virtual/opengl - media-libs/libsdl[sound,joystick,video] + media-libs/libsdl[joystick,opengl,sound,video] virtual/jpeg:0 sys-libs/ncurses:0 sys-libs/zlib" -RDEPEND="${DEPEND}" +RDEPEND=${DEPEND} S=${WORKDIR}/${PV} src_prepare() { - sed -i \ - -e '/^CFLAGS=-g/d' Makefile.rules \ - || die "sed failed" + sed -i -e '/^CFLAGS=-g/d' Makefile.rules || die epatch "${FILESDIR}"/${P}-ldflags.patch \ "${FILESDIR}"/${P}-underlink.patch \ "${FILESDIR}"/${P}-gcc47.patch + sed -i -e '/^CC=/d' Makefile || die + append-cflags -std=gnu89 # build with gcc5 (bug #570504) } src_install() { |