use epatch to apply patch

Package-Manager: portage-2.2.20.1
This commit is contained in:
Michael Sterrett
2015-11-22 00:42:39 -05:00
parent fa200c8592
commit 342c2d35d3

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
EAPI=5
inherit eutils games
DESCRIPTION="A modern version of the arcade classic that uses OpenGL"
@@ -19,12 +19,14 @@ DEPEND="virtual/opengl
virtual/glu
media-libs/libsdl
media-libs/sdl-mixer"
RDEPEND="${DEPEND}"
RDEPEND=${DEPEND}
PATCHES=( "${FILESDIR}"/${P}-include.patch )
src_prepare() {
epatch "${FILESDIR}"/${P}-include.patch
}
src_install() {
emake DESTDIR="${D}" install
dodoc asteroid-{authors,changes,readme}.txt
DOCS="$(echo asteroid-{authors,changes,readme}.txt)" \
default
prepgamesdirs
}