summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-11-21 22:45:31 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2015-11-21 22:45:31 -0500
commit6e8eaba49dfe58eca220cc9482e807fc3092cc5f (patch)
tree66cc5417ebf3202673d5e159355f15b41acbcd9e /games-arcade/yarsrevenge
parentuse epatch to apply patch (diff)
downloadgentoo-6e8eaba49dfe58eca220cc9482e807fc3092cc5f.tar.gz
gentoo-6e8eaba49dfe58eca220cc9482e807fc3092cc5f.tar.bz2
gentoo-6e8eaba49dfe58eca220cc9482e807fc3092cc5f.zip
use epatch to apply patch
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'games-arcade/yarsrevenge')
-rw-r--r--games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild b/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild
index 5d37d87c35b6..527ea8ebef68 100644
--- a/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild
+++ b/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild
@@ -15,14 +15,16 @@ KEYWORDS="amd64 ~ppc sparc x86 ~x86-fbsd"
IUSE=""
DEPEND="media-libs/libsdl[sound,joystick,video]"
-RDEPEND="${DEPEND}"
+RDEPEND=${DEPEND}
+
S=${WORKDIR}/yar-${PV}
-PATCHES=(
- "${FILESDIR}"/${PV}-math.patch
- "${FILESDIR}"/${P}-gcc43.patch
- "${FILESDIR}"/${P}-gcc44.patch
-)
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PV}-math.patch \
+ "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-gcc44.patch
+}
src_install() {
default