Date: Sun, 08 Jan 2017 21:32:55 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 215882] [exp-run] always set LANG=C and LC_ALL=C Message-ID: <bug-215882-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215882 Bug ID: 215882 Summary: [exp-run] always set LANG=3DC and LC_ALL=3DC Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: tijl@FreeBSD.org CC: freebsd-ports-bugs@FreeBSD.org Created attachment 178636 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178636&action= =3Dedit patch The output of tools like awk, sort, tr,... depends on the current locale se= t by the user. The attached patch adds LANG=3DC and LC_ALL=3DC at the beginning= of bsd.port.mk and exports them so all commands are executed with the C locale. It also introduces USE_LOCALE=3D<locale> that adds LANG=3D<locale> and LC_ALL=3D<locale> to CONFIGURE_ENV and MAKE_ENV so upstream build systems c= an be executed with a different locale (e.g. USE_LOCALE=3Den_US.UTF-8). --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215882-13>