The attached patch makes tcsh compilation rightfully optional in Makefile.inc1 because it currently is always built regardless of the MK_TCSH setting. Fix: Patch attached with submission follows: How-To-Repeat: cd /usr/src; make -DWITHOUT_TCSH buildworld
Created attachment 185812 [details] Makefile.inc1: Respect WITHOUT_TCSH I've been using the attached patch in ElectroBSD since 2015. The first hunk looks the same (except for the line numbers) but there's a second one which probably wasn't needed in 2013 yet.
A commit references this bug: Author: ngie Date: Sun Aug 27 16:15:38 UTC 2017 New revision: 322951 URL: https://svnweb.freebsd.org/changeset/base/322951 Log: Respect MK_TCSH with build-tools and native-xtools This helps reduce the WORLDTMP footprint slightly. Based on a patch I submitted 5 years ago to GNATS. PR: 174051 MFC after: 2 weeks Relnotes: yes (anyone who cross-builds with MK_TCSH=yes will run into build failures if the host doesn't have tcsh(1)) Reminded by: Fabian Keil <fk@fabiankeil.de> Changes: head/Makefile.inc1
A commit references this bug: Author: ngie Date: Sat Sep 30 20:06:44 UTC 2017 New revision: 324133 URL: https://svnweb.freebsd.org/changeset/base/324133 Log: MFC r322951: Respect MK_TCSH with build-tools and native-xtools This helps reduce the WORLDTMP footprint slightly. Based on a patch I submitted 5 years ago to GNATS. PR: 174051 Relnotes: yes (anyone who cross-builds with MK_TCSH=yes will run into build failures if the host doesn't have tcsh(1)) Reminded by: Fabian Keil <fk@fabiankeil.de> Changes: _U stable/11/ stable/11/Makefile.inc1
A commit references this bug: Author: ngie Date: Sat Sep 30 20:44:26 UTC 2017 New revision: 324139 URL: https://svnweb.freebsd.org/changeset/base/324139 Log: MFC r322951: Respect MK_TCSH with build-tools and native-xtools This helps reduce the WORLDTMP footprint slightly. Based on a patch I submitted 5 years ago to GNATS. PR: 174051 Relnotes: yes (anyone who cross-builds with MK_TCSH=yes will run into build failures if the host doesn't have tcsh(1)) Reminded by: Fabian Keil <fk@fabiankeil.de> Changes: _U stable/10/ stable/10/bin/Makefile stable/10/sbin/Makefile stable/10/usr.bin/Makefile stable/10/usr.sbin/Makefile
A commit references this bug: Author: ngie Date: Wed Oct 4 16:35:58 UTC 2017 New revision: 324284 URL: https://svnweb.freebsd.org/changeset/base/324284 Log: MFC r322951: Respect MK_TCSH with build-tools and native-xtools This helps reduce the WORLDTMP footprint slightly. Based on a patch I submitted 5 years ago to GNATS. PR: 174051 Relnotes: yes (anyone who cross-builds with MK_TCSH=yes will run into build failures if the host doesn't have tcsh(1)) Reminded by: Fabian Keil <fk@fabiankeil.de> Changes: _U stable/10/ stable/10/Makefile.inc1