mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
use epatch to apply patch
Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user