summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2021-05-18 10:18:48 +0200
committerGuilherme Amadio <amadio@gentoo.org>2021-05-19 14:19:07 +0200
commit8c2a795bc5c6714bf8e77984d570e43ca4043ff7 (patch)
tree76af5b0d55c01019e638c5dce55ed6d804e458dd /dev-lang
parentdev-libs/boost: remove workaround, bug #752120 (diff)
downloadgentoo-8c2a795bc5c6714bf8e77984d570e43ca4043ff7.tar.gz
gentoo-8c2a795bc5c6714bf8e77984d570e43ca4043ff7.tar.bz2
gentoo-8c2a795bc5c6714bf8e77984d570e43ca4043ff7.zip
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@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/spidermonkey/spidermonkey-78.10.1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-lang/spidermonkey/spidermonkey-78.10.1.ebuild b/dev-lang/spidermonkey/spidermonkey-78.10.1.ebuild
index b6cfe9ac6336..e5fdd5518e51 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