Bad LANG environment breaks libcurses build
The "ed" invocations in the libcurses Makefiles will produce broken output unless LANG=C. This causes terminal support to break in apps linking/relying on libcurses. ed should be invoked as "LANG=C ed"
Updated by Garrett D'Amore over 7 years ago
Agreed with Rich; furthermore, doing the build in the C locale is likely to improve compile times modestly, as the C locale is lots more efficient than any UTF-8 locale.
This should probably also be set in bldenv. For folks that use it. Alternatively, setting the environment variable in Makefiles as well may be useful for folks that want to have tools report errors in their native language during a build. (Of course, we sort of assume that developers understand at least enough English to be productive with our source code, so they should be able to cope with English error and warning messages from compilers, etc.)