commit: d9b69b495e07f21b8a49f38f87fed5babd3a9476 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Mon May 19 08:13:47 2025 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Mon May 19 08:13:47 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9b69b49
dev-lang/rust-bin-1.87.0: fix patchelf for prefix Fix path to bin-dir. Thanks Moritz Brunner in https://bugs.gentoo.org/955343#c3 Closes: https://bugs.gentoo.org/955343 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> dev-lang/rust-bin/rust-bin-1.87.0.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-lang/rust-bin/rust-bin-1.87.0.ebuild b/dev-lang/rust-bin/rust-bin-1.87.0.ebuild index 160d7e860311..279ac9c31f10 100644 --- a/dev-lang/rust-bin/rust-bin-1.87.0.ebuild +++ b/dev-lang/rust-bin/rust-bin-1.87.0.ebuild @@ -202,8 +202,9 @@ rust_native_abi_install() { if use prefix; then local interpreter=$(patchelf --print-interpreter "${EPREFIX}"/bin/bash) - ebegin "Changing interpreter to ${interpreter} for Gentoo prefix at ${ED}/opt/${SLOT}/bin" - find "${ED}/opt/${SLOT}/bin" -type f -print0 | \ + local binpth="${ED}/opt/rust-bin-${SLOT}/bin" + ebegin "Changing interpreter to ${interpreter} for Gentoo Prefix at ${binpth}" + find "${binpth}" -type f -print0 | \ while IFS= read -r -d '' filename; do patchelf_for_bin ${filename} ${interpreter} \; || die done
