commit:     03860e7508278d9a3a7a4a48f25aadcaf4e6de59
Author:     Chris Kerr <debdepba <AT> dasganma <DOT> tk>
AuthorDate: Thu Jan 29 13:06:51 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Thu Jan 29 13:06:51 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=03860e75

using $PATCHES instead of a custom src_prepare

---
 sci-visualization/mantid/mantid-3.3.0.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sci-visualization/mantid/mantid-3.3.0.ebuild 
b/sci-visualization/mantid/mantid-3.3.0.ebuild
index 27a77d3..6776674 100644
--- a/sci-visualization/mantid/mantid-3.3.0.ebuild
+++ b/sci-visualization/mantid/mantid-3.3.0.ebuild
@@ -62,9 +62,7 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}/${P}-Source"
 
-src_prepare() {
-       epatch  "${FILESDIR}/${P}-minigzip-OF.patch"
-}
+PATCHES=( "${FILESDIR}/${P}-minigzip-OF.patch" )
 
 src_configure() {
        export CPPFLAGS="-DHAVE_IOSTREAM -DHAVE_LIMITS -DHAVE_IOMANIP 
${CPPFLAGS}"

Reply via email to