app-eselect/eselect-opencl: [QA] Fix AbsoluteSymlink
authorMichał Górny <mgorny@gentoo.org>
Mon, 16 Dec 2019 09:26:07 +0000 (10:26 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 16 Dec 2019 09:39:37 +0000 (10:39 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-eselect/eselect-opencl/eselect-opencl-1.1.0-r4.ebuild

index 7552ebf843c271d6cb84d11a91e8158b701e7e06..30461bcff9eb478a058ccb58171555445fcd9222 100644 (file)
@@ -65,6 +65,6 @@ src_install() {
        done
        # Create symlinks to newest. Maybe this should be switchable?
        for f in ${headers[@]}; do
-               dosym "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-1.2/${f}" "/usr/include/CL/${f}"
+               dosym "../../$(get_libdir)/OpenCL/global/include/CL-1.2/${f}" "/usr/include/CL/${f}"
        done
 }