diff options
Diffstat (limited to 'app-eselect/eselect-opencl')
-rw-r--r-- | app-eselect/eselect-opencl/eselect-opencl-1.1.0-r4.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r4.ebuild b/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r4.ebuild index d56722022b48..d21b9459ec5e 100644 --- a/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r4.ebuild +++ b/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r4.ebuild @@ -52,17 +52,17 @@ src_install() { # We install all versions of OpenCL headers for CL_ABI in 1.0 1.1 1.2 2.0 2.1; do - mkdir -p "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}" + mkdir -p "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}" for f in ${headers[@]}; do - cp "${WORKDIR}"/OpenCL-Headers-opencl${CL_ABI/./}/${f} "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/${f}" > /dev/null + cp "${WORKDIR}"/OpenCL-Headers-opencl${CL_ABI/./}/${f} "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/${f}" > /dev/null done done for i in 1.1 1.2 2.1; do - cp "${WORKDIR}"/$i/cl.hpp "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/" + cp "${WORKDIR}"/$i/cl.hpp "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/" done # Create symlinks to newest. Maybe this should be switchable? for f in ${headers[@]}; do - dosym "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-1.2/${f}" "/usr/include/CL/${f}" + dosym "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-1.2/${f}" "/usr/include/CL/${f}" done } |