From: Ian Stakenvicius Date: Sat, 17 Nov 2018 15:57:20 +0000 (-0500) Subject: dev-lang/spidermonkey: fix SHELL every way possible X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5457e2f4fb34e39402ce387a67788022ef53d414;p=gentoo.git dev-lang/spidermonkey: fix SHELL every way possible The changes in this commit are overkill, but with v60 built using mach there isn't any form of precedent to set with this code, and ensuring these assignments occur will squash this bug once and for all no matter how it manifests. Bug: https://bugs.gentoo.org/666732 Signed-off-by: Ian Stakenvicius Package-Manager: Portage-2.3.49, Repoman-2.3.11 --- diff --git a/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild b/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild index 990f45f27fe8..cadf22413d78 100644 --- a/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild +++ b/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild @@ -34,6 +34,8 @@ DEPEND="${RDEPEND}" pkg_setup(){ [[ ${MERGE_TYPE} == "binary" ]] || \ moz_pkgsetup + + export SHELL="${EPREFIX}/bin/bash" } src_prepare() { @@ -91,6 +93,7 @@ cross_make() { CC="${BUILD_CC}" \ CXX="${BUILD_CXX}" \ RANLIB="${BUILD_RANLIB}" \ + SHELL="${SHELL:-${EPREFIX}/bin/bash}" \ "$@" } src_compile() { @@ -120,6 +123,7 @@ src_compile() { fi MOZ_MAKE_FLAGS="${MAKEOPTS}" \ + SHELL="${SHELL:-${EPREFIX}/bin/bash}" \ emake \ MOZ_OPTIMIZE_FLAGS="" MOZ_DEBUG_FLAGS="" \ HOST_OPTIMIZE_FLAGS="" MODULE_OPTIMIZE_FLAGS="" \ @@ -133,6 +137,7 @@ src_test() { src_install() { cd "${BUILDDIR}" || die + SHELL="${SHELL:-${EPREFIX}/bin/bash}" \ emake DESTDIR="${D}" install if ! use minimal; then