From 2ee6d7cd9363b774760ede1f47e2dd294f3d944d Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Sat, 21 Nov 2015 21:26:57 -0500 Subject: [PATCH] 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 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 \ -- 2.26.2