Gentoo Archives: gentoo-commits

From: Ian Stakenvicius <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/spidermonkey/
Date: Sat, 17 Nov 2018 16:52:40
Message-Id: 1542473489.5457e2f4fb34e39402ce387a67788022ef53d414.axs@gentoo
1 commit: 5457e2f4fb34e39402ce387a67788022ef53d414
2 Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 17 15:57:20 2018 +0000
4 Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 17 16:51:29 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5457e2f4
7
8 dev-lang/spidermonkey: fix SHELL every way possible
9
10 The changes in this commit are overkill, but with v60 built using mach
11 there isn't any form of precedent to set with this code, and ensuring
12 these assignments occur will squash this bug once and for all no matter
13 how it manifests.
14
15 Bug: https://bugs.gentoo.org/666732
16 Signed-off-by: Ian Stakenvicius <axs <AT> gentoo.org>
17 Package-Manager: Portage-2.3.49, Repoman-2.3.11
18
19 dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild | 5 +++++
20 1 file changed, 5 insertions(+)
21
22 diff --git a/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild b/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild
23 index 990f45f27fe..cadf22413d7 100644
24 --- a/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild
25 +++ b/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild
26 @@ -34,6 +34,8 @@ DEPEND="${RDEPEND}"
27 pkg_setup(){
28 [[ ${MERGE_TYPE} == "binary" ]] || \
29 moz_pkgsetup
30 +
31 + export SHELL="${EPREFIX}/bin/bash"
32 }
33
34 src_prepare() {
35 @@ -91,6 +93,7 @@ cross_make() {
36 CC="${BUILD_CC}" \
37 CXX="${BUILD_CXX}" \
38 RANLIB="${BUILD_RANLIB}" \
39 + SHELL="${SHELL:-${EPREFIX}/bin/bash}" \
40 "$@"
41 }
42 src_compile() {
43 @@ -120,6 +123,7 @@ src_compile() {
44 fi
45
46 MOZ_MAKE_FLAGS="${MAKEOPTS}" \
47 + SHELL="${SHELL:-${EPREFIX}/bin/bash}" \
48 emake \
49 MOZ_OPTIMIZE_FLAGS="" MOZ_DEBUG_FLAGS="" \
50 HOST_OPTIMIZE_FLAGS="" MODULE_OPTIMIZE_FLAGS="" \
51 @@ -133,6 +137,7 @@ src_test() {
52
53 src_install() {
54 cd "${BUILDDIR}" || die
55 + SHELL="${SHELL:-${EPREFIX}/bin/bash}" \
56 emake DESTDIR="${D}" install
57
58 if ! use minimal; then