aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Brehler <marbre@linux.sungazer.de>2015-01-10 16:22:31 +0100
committerMarius Brehler <marbre@linux.sungazer.de>2015-01-10 16:22:31 +0100
commit3e25721b735521f1fcdf66f1409ce86b2e6f3aee (patch)
tree18265bdb03ea59753ec6b7761f0126d9f490d355 /sci-libs
parentFurther cleanup (diff)
downloadsci-3e25721b735521f1fcdf66f1409ce86b2e6f3aee.tar.gz
sci-3e25721b735521f1fcdf66f1409ce86b2e6f3aee.tar.bz2
sci-3e25721b735521f1fcdf66f1409ce86b2e6f3aee.zip
Make use of PATCHES array
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/arrayfire/arrayfire-9999.ebuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 00226579b..f485b122b 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