commit:     2ee6d7cd9363b774760ede1f47e2dd294f3d944d
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 22 02:26:57 2015 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Sun Nov 22 02:27:14 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee6d7cd

use epatch to apply patch

Package-Manager: portage-2.2.20.1

 games-puzzle/xpired/xpired-1.22.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/games-puzzle/xpired/xpired-1.22.ebuild 
b/games-puzzle/xpired/xpired-1.22.ebuild
index 1db2245..856283b 100644
--- a/games-puzzle/xpired/xpired-1.22.ebuild
+++ b/games-puzzle/xpired/xpired-1.22.ebuild
@@ -17,11 +17,13 @@ IUSE=""
 DEPEND="media-libs/sdl-gfx
        media-libs/sdl-image[jpeg]
        media-libs/sdl-mixer[mod]"
-RDEPEND="${DEPEND}"
+RDEPEND=${DEPEND}
 
 S=${WORKDIR}/src
 
-PATCHES=( "${FILESDIR}"/${P}-ldflags.patch )
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-ldflags.patch
+}
 
 src_compile() {
        emake \

Reply via email to