commit:     66347a8c14436d17b063118cf4e6111643ffbf38
Author:     Marek BehĂșn <kabel <AT> kernel <DOT> org>
AuthorDate: Thu Nov 10 10:39:00 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 16:50:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66347a8c

dev-libs/FP16: Fix install phase for Gentoo Prefix

Use the ED instead of D variable in src_install() to fix the
installation when installing in Gentoo Prefix.

Signed-off-by: Marek BehĂșn <kabel <AT> kernel.org>
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-libs/FP16/FP16-2021.03.20-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/FP16/FP16-2021.03.20-r2.ebuild 
b/dev-libs/FP16/FP16-2021.03.20-r2.ebuild
index 1673b468cb71..c829131617f1 100644
--- a/dev-libs/FP16/FP16-2021.03.20-r2.ebuild
+++ b/dev-libs/FP16/FP16-2021.03.20-r2.ebuild
@@ -53,6 +53,6 @@ python_install() {
 
 src_install() {
        cmake_src_install
-       rm "${D}"/usr/include/fp16/*.py || die
+       rm "${ED}"/usr/include/fp16/*.py || die
        python_foreach_impl python_install
 }

Reply via email to