[jhalfs] 09/09: Ensure that MAKE_TERM(OUT|ERR) are unset
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository jhalfs. commit 1870b56894dd633a6c1ab49d3bf6857b3d6f75c1 Author: Pierre Labastie <[email protected]> AuthorDate: Sun Nov 14 15:18:38 2021 +0100 Ensure that MAKE_TERM(OUT|ERR) are unset Some packages use those variables to determine whether they are talking to a terminal, and issue color codes that mess our logs if the top level make has been launched from a terminal. --- BLFS/xsl/scripts.xsl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl index 4b98fbc..5561af7 100644 --- a/BLFS/xsl/scripts.xsl +++ b/BLFS/xsl/scripts.xsl @@ -215,8 +215,13 @@ export JH_KEEP_FILES="</xsl:text> </xsl:otherwise> </xsl:choose> <!-- Unsetting MAKELEVEL is needed for some packages which assume that - their top level Makefile is at level zero --> + their top level Makefile is at level zero. + Some packages (cmake) use MAKE_TERMOUT and MAKE_TERMERR to determine + whether they are talking to a terminal. + In our case, stdout/stderr are always redirected, so unset them.--> <xsl:text>unset MAKELEVEL +unset MAKE_TERMOUT +unset MAKE_TERMERR <!-- When installing several packages, and profile or profile.d has been modified by a previous package, we need to ensure that the updated profile is used. -- To stop receiving notification emails like this one, please contact the administrator of this repository. -- http://lists.linuxfromscratch.org/sympa/info/alfs-discuss Unsubscribe: See the above information page