use epatch to apply patch
authorMichael Sterrett <mr_bones_@gentoo.org>
Sun, 22 Nov 2015 03:03:58 +0000 (22:03 -0500)
committerMichael Sterrett <mr_bones_@gentoo.org>
Sun, 22 Nov 2015 03:03:58 +0000 (22:03 -0500)
Package-Manager: portage-2.2.20.1

games-puzzle/galaxis/galaxis-1.8.ebuild

index 9aeb8cdb89c873f2de174498832031c715b55c40..3b044622438bfd80e8f6754dd7fb56793a5bff88 100644 (file)
@@ -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