From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AE454138ACF for ; Sat, 10 Jan 2015 18:03:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACC80E083B; Sat, 10 Jan 2015 18:03:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EE95DE083B for ; Sat, 10 Jan 2015 18:03:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 18BA83406E8 for ; Sat, 10 Jan 2015 18:03:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D63BF4AD for ; Sat, 10 Jan 2015 18:03:23 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1420903351.3e25721b735521f1fcdf66f1409ce86b2e6f3aee.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/arrayfire/arrayfire-9999.ebuild X-VCS-Directories: sci-libs/arrayfire/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 3e25721b735521f1fcdf66f1409ce86b2e6f3aee X-VCS-Branch: master Date: Sat, 10 Jan 2015 18:03:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e7088b01-baee-44f5-b0c0-f119cf56c94c X-Archives-Hash: 22a3efb0bad6588b71dc29911ee03996 commit: 3e25721b735521f1fcdf66f1409ce86b2e6f3aee Author: Marius Brehler linux sungazer de> AuthorDate: Sat Jan 10 15:22:31 2015 +0000 Commit: Justin Lecher gentoo 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