summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2015-09-07 16:29:40 -0400
committerIan Stakenvicius <axs@gentoo.org>2015-09-07 16:31:58 -0400
commit1602509da7c0b88c9a22ef15bde49c91566eaa8e (patch)
tree688b9fdaf990adec68916869c79456e152354f27
parentnet-irc/anope: make init script use ircd (diff)
downloadgentoo-1602509da7c0b88c9a22ef15bde49c91566eaa8e.tar.gz
gentoo-1602509da7c0b88c9a22ef15bde49c91566eaa8e.tar.bz2
gentoo-1602509da7c0b88c9a22ef15bde49c91566eaa8e.zip
firefox,thunderbird: Ensure $SHELL gets set to something
Zero_Chaos noticed when building firefox within catalyst that failures would occur due to the build system not finding the correct shell. It was determined this was due to catalyst not setting SHELL in the environment, which resulted in the firefox build system being passed SHELL="" and causing the failure. This commit ensures SHELL will never be empty by hard-coding /bin/bash (EPREFIX'd when appropriate) if there is no SHELL specified in the environment. Changed ebuilds: www-client/firefox-38.2.1 www-client/firefox-40.0.3 mail-client/thunderbird-38.2.0 Package-Manager: portage-2.2.20.1
-rw-r--r--mail-client/thunderbird/thunderbird-38.2.0.ebuild2
-rw-r--r--www-client/firefox/firefox-38.2.1.ebuild4
-rw-r--r--www-client/firefox/firefox-40.0.3.ebuild4
3 files changed, 5 insertions, 5 deletions
diff --git a/mail-client/thunderbird/thunderbird-38.2.0.ebuild b/mail-client/thunderbird/thunderbird-38.2.0.ebuild
index f7f9b9e6f675..c7a4cf98c7a7 100644
--- a/mail-client/thunderbird/thunderbird-38.2.0.ebuild
+++ b/mail-client/thunderbird/thunderbird-38.2.0.ebuild
@@ -244,7 +244,7 @@ src_compile() {
mkdir -p "${BUILD_OBJ_DIR}" && cd "${BUILD_OBJ_DIR}" || die
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
- MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \
emake -f "${S}"/client.mk
# Only build enigmail extension if crypt enabled.
diff --git a/www-client/firefox/firefox-38.2.1.ebuild b/www-client/firefox/firefox-38.2.1.ebuild
index fde4d4e24d53..2c1fe1f145d9 100644
--- a/www-client/firefox/firefox-38.2.1.ebuild
+++ b/www-client/firefox/firefox-38.2.1.ebuild
@@ -275,11 +275,11 @@ src_compile() {
addpredict "${cards}"
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
- MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \
Xemake -f client.mk profiledbuild || die "Xemake failed"
else
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
- MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \
emake -f client.mk realbuild
fi
diff --git a/www-client/firefox/firefox-40.0.3.ebuild b/www-client/firefox/firefox-40.0.3.ebuild
index 89f66579cbca..c71527a45f40 100644
--- a/www-client/firefox/firefox-40.0.3.ebuild
+++ b/www-client/firefox/firefox-40.0.3.ebuild
@@ -277,11 +277,11 @@ src_compile() {
addpredict "${cards}"
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
- MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \
Xemake -f client.mk profiledbuild || die "Xemake failed"
else
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
- MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \
emake -f client.mk realbuild
fi