summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Behún <kabel@kernel.org>2022-11-10 11:35:10 +0100
committerAlfredo Tupone <tupone@gentoo.org>2022-11-10 17:50:13 +0100
commit7a0f2f76f126ee8114e68452a5141f691890f54c (patch)
tree6354b7cf4df3fe9ec860413288c113db6f1a8b5e /sci-libs/onnx
parentsys-devel/llvm-common: Remove 16.0.0_pre20221023 (diff)
downloadgentoo-7a0f2f76f126ee8114e68452a5141f691890f54c.tar.gz
gentoo-7a0f2f76f126ee8114e68452a5141f691890f54c.tar.bz2
gentoo-7a0f2f76f126ee8114e68452a5141f691890f54c.zip
sci-libs/onnx: 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@kernel.org> Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-libs/onnx')
-rw-r--r--sci-libs/onnx/onnx-1.11.0-r2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sci-libs/onnx/onnx-1.11.0-r2.ebuild b/sci-libs/onnx/onnx-1.11.0-r2.ebuild
index 31f993817030..f402a43e681a 100644
--- a/sci-libs/onnx/onnx-1.11.0-r2.ebuild
+++ b/sci-libs/onnx/onnx-1.11.0-r2.ebuild
@@ -33,8 +33,8 @@ src_configure() {
src_install() {
cmake_src_install
- patchelf --set-soname libonnxifi.so "${D}"/usr/lib/libonnxifi.so \
+ patchelf --set-soname libonnxifi.so "${ED}"/usr/lib/libonnxifi.so \
|| die
- mv "${D}"/usr/lib/libonnxifi.so "${D}"/usr/$(get_libdir)/libonnxifi.so \
+ mv "${ED}"/usr/lib/libonnxifi.so "${ED}"/usr/$(get_libdir)/libonnxifi.so \
|| die
}