From: Michael Sterrett Date: Sun, 22 Nov 2015 02:26:57 +0000 (-0500) Subject: use epatch to apply patch X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2ee6d7cd9363b774760ede1f47e2dd294f3d944d;p=gentoo.git use epatch to apply patch Package-Manager: portage-2.2.20.1 --- diff --git a/games-puzzle/xpired/xpired-1.22.ebuild b/games-puzzle/xpired/xpired-1.22.ebuild index 1db2245a4663..856283baa670 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 \