commit:     10516a58d09b92067afd195622d2b021563582b8
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 15 19:29:35 2018 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Wed Aug 15 19:29:35 2018 +0000
URL:        https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=10516a58

mozcoreconf: attempt workaround for occasional setupterm-based build error

Bug: http://bugs.gentoo.org/654316

 eclass/mozcoreconf-v6.eclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index 930122f..b797696 100644
--- a/eclass/mozcoreconf-v6.eclass
+++ b/eclass/mozcoreconf-v6.eclass
@@ -101,6 +101,9 @@ moz_pkgsetup() {
        # ensure MOZCONFIG is not defined
        unset MOZCONFIG
 
+       # recent builds call setupterm, ensure TERM has a value
+       export TERM=${TERM:-dumb}
+
        # set MOZILLA_FIVE_HOME
        export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
 

Reply via email to