-
- Downloads
The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user. Add LANG=C and LC_ALL=C at the beginning of bsd.port.mk and export them so all commands are executed with the C locale. LC_ALL=C overrides all other LC_* variables. LANG is used by setlocale(3) as default value for LC_* variables, so normally it isn't used when LC_ALL is set, but there's code out there that looks at LANG directly so it's safer to set it as well. The only commands not captured by this are != assignments before any inclusion of bsd.port.*mk. Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a different locale (e.g. USE_LOCALE=en_US.UTF-8). PR: 215882 Exp-run by: antoine Approved by: portmgr (antoine)
Showing
- Mk/Scripts/check-stagedir.sh 0 additions, 1 deletionMk/Scripts/check-stagedir.sh
- Mk/Uses/elixir.mk 1 addition, 1 deletionMk/Uses/elixir.mk
- Mk/Uses/gem.mk 2 additions, 17 deletionsMk/Uses/gem.mk
- Mk/bsd.commands.mk 1 addition, 1 deletionMk/bsd.commands.mk
- Mk/bsd.port.mk 13 additions, 1 deletionMk/bsd.port.mk
- archivers/libzip/Makefile 0 additions, 1 deletionarchivers/libzip/Makefile
- audio/denemo/Makefile 0 additions, 1 deletionaudio/denemo/Makefile
- audio/libamrnb/Makefile 0 additions, 2 deletionsaudio/libamrnb/Makefile
- audio/libamrwb/Makefile 0 additions, 2 deletionsaudio/libamrwb/Makefile
- base/gcc/Makefile 0 additions, 2 deletionsbase/gcc/Makefile
- cad/astk-serveur/Makefile 6 additions, 6 deletionscad/astk-serveur/Makefile
- cad/jspice3/files/patch-build 0 additions, 9 deletionscad/jspice3/files/patch-build
- chinese/big5width/Makefile 7 additions, 7 deletionschinese/big5width/Makefile
- chinese/big5width/pkg-plist 3 additions, 3 deletionschinese/big5width/pkg-plist
- devel/cutter/Makefile 1 addition, 3 deletionsdevel/cutter/Makefile
- devel/libc++/Makefile 1 addition, 1 deletiondevel/libc++/Makefile
- devel/libedit/Makefile 0 additions, 1 deletiondevel/libedit/Makefile
- devel/libopenbsd/Makefile 3 additions, 4 deletionsdevel/libopenbsd/Makefile
- devel/libpci/Makefile 0 additions, 1 deletiondevel/libpci/Makefile
- devel/libublio/Makefile 1 addition, 1 deletiondevel/libublio/Makefile
Loading
Please register or sign in to comment