dev-libs/ocl-icd: fix ${D} vs ${ED} for prefix
authorGuilherme Amadio <amadio@gentoo.org>
Mon, 12 Aug 2019 12:05:39 +0000 (14:05 +0200)
committerGuilherme Amadio <amadio@gentoo.org>
Mon, 12 Aug 2019 12:06:51 +0000 (14:06 +0200)
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
dev-libs/ocl-icd/ocl-icd-2.2.12-r1.ebuild
dev-libs/ocl-icd/ocl-icd-2.2.12.ebuild

index 7bc7cd5195e19fde54f0b5f89d2d0b105b3b4af9..c9d2704ee26a384a82f756ef7e71ee4160e2fa94 100644 (file)
@@ -33,13 +33,13 @@ multilib_src_install() {
        default
 
        # Drop .la files
-       find "${D}" -name '*.la' -delete || die
+       find "${ED}" -name '*.la' -delete || die
 
        OCL_DIR="/usr/$(get_libdir)/OpenCL/vendors/ocl-icd"
        dodir ${OCL_DIR}/{,include}
 
        # Install vendor library
-       mv -f "${D}/usr/$(get_libdir)"/libOpenCL* "${ED}${OCL_DIR}" || die "Can't install vendor library"
+       mv -f "${ED}/usr/$(get_libdir)"/libOpenCL* "${ED}${OCL_DIR}" || die "Can't install vendor library"
 
        # Install vendor headers
        if use khronos-headers; then
index 38bc636d446291e03e59f7c6cc3f4dea2f96b39d..04777289f858a76ab80490c7c5a273ae162c2218 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -33,13 +33,13 @@ multilib_src_install() {
        default
 
        # Drop .la files
-       find "${D}" -name '*.la' -delete || die
+       find "${ED}" -name '*.la' -delete || die
 
        OCL_DIR="/usr/$(get_libdir)/OpenCL/vendors/ocl-icd"
        dodir ${OCL_DIR}/{,include}
 
        # Install vendor library
-       mv -f "${D}/usr/$(get_libdir)"/libOpenCL* "${ED}${OCL_DIR}" || die "Can't install vendor library"
+       mv -f "${ED}/usr/$(get_libdir)"/libOpenCL* "${ED}${OCL_DIR}" || die "Can't install vendor library"
 
        # Install vendor headers
        if use khronos-headers; then