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

games-puzzle/tint/tint-0.03b.ebuild

index 0c5d6923dd1b7e58c3be8e300a6161e71a4eea66..e87d7166627e53c8412607888c687afb0f1b6d09 100644 (file)
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-inherit games
+inherit eutils games
 
 MY_P=${P/-/_}
 DESCRIPTION="Tint Is Not Tetris, a ncurses based clone of the original Tetris(tm) game"
@@ -15,10 +15,12 @@ SLOT="0"
 KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
 IUSE=""
 
-DEPEND=">=sys-libs/ncurses-5.4-r1"
-RDEPEND="${DEPEND}"
+DEPEND=">=sys-libs/ncurses-5.4-r1:0"
+RDEPEND=${DEPEND}
 
-PATCHES=( "${FILESDIR}"/${P}-ovflfix.patch )
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-ovflfix.patch
+}
 
 src_compile() {
        emake \