[Lunar-commits] <moonbase> CUDA-OpenCL-headers: fixed install bug.

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sun Oct 17 15:06:38 CEST 2010


commit 1bad0befc5d32d33d6822567951fc1afe36978b4
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sun Oct 17 13:06:38 2010 +0000

    CUDA-OpenCL-headers: fixed install bug.
---
 devel/CUDA-OpenCL-headers/BUILD |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/devel/CUDA-OpenCL-headers/BUILD b/devel/CUDA-OpenCL-headers/BUILD
index 4dea42d..1b7a1c3 100644
--- a/devel/CUDA-OpenCL-headers/BUILD
+++ b/devel/CUDA-OpenCL-headers/BUILD
@@ -1,8 +1,9 @@
 (
 
+  rm -rf old.libraries &&
   prepare_install &&
   mkdir -p /usr/include/{CL,cuda} &&
   cp -f $SOURCE_CACHE/{opencl.h,cl_platform.h,cl.h,cl_ext.h,cl_gl.h,cl_gl_ext.h,cl.hpp} /usr/include/CL &&
-  install -m644 $SOURCE_DIRECTORY/* /usr/include/cuda
+  install -m644 * /usr/include/cuda
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list