From 96db6869f3a26f1d8449086e21272ac7ba64d334 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Sun, 8 Mar 2015 10:49:44 +0100 Subject: sci-libs/arrayfire: Update patches Package-Manager: portage-2.2.14 --- sci-libs/arrayfire/arrayfire-9999.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sci-libs/arrayfire/arrayfire-9999.ebuild') diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild index 5df0538c6..91c16ac0a 100644 --- a/sci-libs/arrayfire/arrayfire-9999.ebuild +++ b/sci-libs/arrayfire/arrayfire-9999.ebuild @@ -40,10 +40,13 @@ CMAKE_BUILD_TYPE=Release PATCHES=( "${FILESDIR}"/FindCBLAS.patch - "${FILESDIR}"/CMakeLists_examples.patch - "${FILESDIR}"/build_gtest.patch + "${FILESDIR}/${P}"-CMakeLists_examples.patch ) +if [[ ${PV} == "0.9999" ]] ; then + PATCHES+=("${FILESDIR}/${P}"-build_gtest.patch) +fi + # We need write acccess /dev/nvidiactl, /dev/nvidia0 and /dev/nvidia-uvm and the portage # user is (usually) not in the video group RESTRICT="userpriv" -- cgit v1.2.3-65-gdbad