commit:     cfaa73c300106468a37c13bdb0ce16878a32332c
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 22 03:03:58 2015 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Sun Nov 22 03:03:58 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfaa73c3

use epatch to apply patch

Package-Manager: portage-2.2.20.1

 games-puzzle/galaxis/galaxis-1.8.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/games-puzzle/galaxis/galaxis-1.8.ebuild 
b/games-puzzle/galaxis/galaxis-1.8.ebuild
index 9aeb8cd..3b04462 100644
--- a/games-puzzle/galaxis/galaxis-1.8.ebuild
+++ b/games-puzzle/galaxis/galaxis-1.8.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-inherit games
+inherit eutils games
 
 DESCRIPTION="A UNIX-hosted, curses-based clone of the nifty little Macintosh 
freeware game Galaxis"
 HOMEPAGE="http://www.catb.org/~esr/galaxis/";
@@ -14,10 +14,12 @@ SLOT="0"
 KEYWORDS="amd64 ~ppc ~ppc64 x86"
 IUSE=""
 
-DEPEND=">=sys-libs/ncurses-5.3"
-RDEPEND="${DEPEND}"
+DEPEND=">=sys-libs/ncurses-5.3:0"
+RDEPEND=${DEPEND}
 
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-gentoo.patch
+}
 
 src_install() {
        dogamesbin galaxis

Reply via email to