commit: 3e25721b735521f1fcdf66f1409ce86b2e6f3aee
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Jan 10 15:22:31 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 15:22:31 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3e25721b
Make use of PATCHES array
---
sci-libs/arrayfire/arrayfire-9999.ebuild | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild
b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 0022657..f485b12 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -26,16 +26,10 @@ DEPEND="${RDEPEND}
CMAKE_BUILD_TYPE=Release
-src_prepare() {
- if use cpu; then
- epatch "${FILESDIR}/FindCBLAS.patch"
- fi
- if use examples; then
- epatch "${FILESDIR}/CMakeLists_examples.patch"
- fi
-
- cmake-utils_src_prepare
-}
+PATCHES=(
+ "${FILESDIR}"/FindCBLAS.patch
+ "${FILESDIR}"/CMakeLists_examples.patch
+)
src_configure() {
if use cuda; then