diff options
author | Guilherme Amadio <amadio@gentoo.org> | 2017-08-30 17:06:46 +0200 |
---|---|---|
committer | Guilherme Amadio <amadio@gentoo.org> | 2017-08-30 17:08:25 +0200 |
commit | 752ced70965489e65aaa3e1148163fc623a41187 (patch) | |
tree | 0c89b346d0287cbe340b7d585f42d1086496aa16 /app-eselect | |
parent | sys-devel/clang: Remove unnecessary Sphinx patch from 5.0.0+ (diff) | |
download | gentoo-752ced70965489e65aaa3e1148163fc623a41187.tar.gz gentoo-752ced70965489e65aaa3e1148163fc623a41187.tar.bz2 gentoo-752ced70965489e65aaa3e1148163fc623a41187.zip |
app-eselect/eselect-opencl: use ${ED} for prefix compatibility
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'app-eselect')
-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 } |