commit:     8c2a795bc5c6714bf8e77984d570e43ca4043ff7
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue May 18 08:18:48 2021 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed May 19 12:19:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c2a795b

dev-lang/spidermonkey: use prefix shell, bug #789660

Closes: https://bugs.gentoo.org/789660
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 dev-lang/spidermonkey/spidermonkey-78.10.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-lang/spidermonkey/spidermonkey-78.10.1.ebuild 
b/dev-lang/spidermonkey/spidermonkey-78.10.1.ebuild
index b6cfe9ac633..e5fdd5518e5 100644
--- a/dev-lang/spidermonkey/spidermonkey-78.10.1.ebuild
+++ b/dev-lang/spidermonkey/spidermonkey-78.10.1.ebuild
@@ -13,7 +13,7 @@ PYTHON_COMPAT=( python3_{7..9} )
 
 WANT_AUTOCONF="2.1"
 
-inherit autotools check-reqs flag-o-matic llvm multiprocessing python-any-r1 
toolchain-funcs
+inherit autotools check-reqs flag-o-matic llvm multiprocessing prefix 
python-any-r1 toolchain-funcs
 
 MY_PN="mozjs"
 MY_PV="${PV/_pre*}" # Handle Gentoo pre-releases
@@ -230,6 +230,9 @@ src_prepare() {
                python/mozbuild/mozbuild/configure/check_debug_ranges.py \
                || die "sed failed to set toolchain prefix"
 
+       # use prefix shell in wrapper linker scripts, bug #789660
+       hprefixify "${S}"/../../build/cargo-{,host-}linker
+
        einfo "Removing pre-built binaries ..."
        find third_party -type f \( -name '*.so' -o -name '*.o' \) -print 
-delete || die
 

Reply via email to