Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2017 13:21:38 +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-rxGYwMyjSG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-215882-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-215882-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215882

--- Comment #7 from commit-hook@freebsd.org ---
A commit references this bug:

Author: tijl
Date: Wed Jan 18 13:20:39 UTC 2017
New revision: 431796
URL: https://svnweb.freebsd.org/changeset/ports/431796

Log:
  The output of tools like awk, date, sort, tr,... depends on the current
  locale set by the user.  Add LANG=3DC and LC_ALL=3DC at the beginning of
  bsd.port.mk and export them so all commands are executed with the C local=
e.
  LC_ALL=3DC 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 sa=
fer
  to set it as well.  The only commands not captured by this are !=3D
  assignments before any inclusion of bsd.port.*mk.

  Introduce USE_LOCALE=3D<locale> that adds LANG=3D<locale> and LC_ALL=3D<l=
ocale> to
  CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with=
 a
  different locale (e.g. USE_LOCALE=3Den_US.UTF-8).

  PR:           215882
  Exp-run by:   antoine
  Approved by:  portmgr (antoine)

Changes:
  head/Mk/Scripts/check-stagedir.sh
  head/Mk/Uses/elixir.mk
  head/Mk/Uses/gem.mk
  head/Mk/bsd.commands.mk
  head/Mk/bsd.port.mk
  head/archivers/libzip/Makefile
  head/audio/denemo/Makefile
  head/audio/libamrnb/Makefile
  head/audio/libamrwb/Makefile
  head/base/gcc/Makefile
  head/cad/astk-serveur/Makefile
  head/cad/jspice3/files/patch-build
  head/chinese/big5width/Makefile
  head/chinese/big5width/pkg-plist
  head/devel/cutter/Makefile
  head/devel/libc++/Makefile
  head/devel/libedit/Makefile
  head/devel/libopenbsd/Makefile
  head/devel/libpci/Makefile
  head/devel/libublio/Makefile
  head/devel/powerpc64-gcc/Makefile
  head/devel/riscv64-gcc/Makefile
  head/devel/tcllib/Makefile
  head/dns/maradns/Makefile
  head/editors/emacs/Makefile
  head/editors/emacs-devel/Makefile
  head/editors/libreoffice/Makefile
  head/editors/libreoffice4/Makefile
  head/editors/openoffice-4/Makefile
  head/editors/openoffice-devel/Makefile
  head/editors/tea/Makefile
  head/editors/yudit/Makefile
  head/emulators/tme/Makefile
  head/ftp/bsdftpd-ssl/files/patch-contrib-libedit-makelist
  head/ftp/curl/Makefile
  head/ftp/ftpcopy/files/patch-src_typesize.sh
  head/ftp/pure-ftpd/Makefile
  head/games/blackjackclient/Makefile
  head/games/doomsday/Makefile
  head/games/jchessboard/Makefile
  head/games/openbor/Makefile
  head/games/quake-data/Makefile
  head/german/hunspell/Makefile
  head/graphics/Coin/Makefile
  head/graphics/jogl/Makefile
  head/graphics/libimg/Makefile
  head/japanese/skk-jisyo/Makefile
  head/java/bootstrap-openjdk/Makefile.update
  head/java/icedtea-web/Makefile
  head/java/jakarta-commons-httpclient/Makefile
  head/java/jfreechart/Makefile
  head/java/openjdk6/Makefile
  head/java/openjdk7/Makefile
  head/java/openjdk8/Makefile
  head/lang/elixir/Makefile
  head/lang/gauche/Makefile
  head/lang/gcc/Makefile
  head/lang/gcc48/Makefile
  head/lang/gcc49/Makefile
  head/lang/gcc5/Makefile
  head/lang/gcc5-devel/Makefile
  head/lang/gcc6/Makefile
  head/lang/gcc6-devel/Makefile
  head/lang/ghc/Makefile
  head/lang/ghc/bsd.cabal.mk
  head/lang/mono/Makefile
  head/lang/perl5-devel/Makefile
  head/lang/perl5.20/Makefile
  head/lang/perl5.22/Makefile
  head/lang/perl5.24/Makefile
  head/lang/rubinius/Makefile
  head/lang/ruby21/Makefile
  head/lang/ruby22/Makefile
  head/lang/ruby23/Makefile
  head/lang/ruby24/Makefile
  head/lang/tcl84/Makefile
  head/lang/tcl85/Makefile
  head/lang/tcl86/Makefile
  head/lang/tcl87/Makefile
  head/lang/yap-devel/Makefile
  head/mail/mew/files/patch-info__Makefile
  head/mail/wanderlust/files/patch-Makefile
  head/mail/wanderlust-devel/files/patch-Makefile
  head/math/geonext/Makefile
  head/math/jakarta-commons-math/Makefile
  head/math/jakarta-commons-math3/Makefile
  head/math/scilab/Makefile
  head/math/scilab-toolbox-sivp/Makefile
  head/math/scilab-toolbox-swt/Makefile
  head/multimedia/bino/Makefile
  head/multimedia/libvpx/Makefile
  head/multimedia/miro/Makefile
  head/net-mgmt/smokeping/Makefile
  head/net-p2p/mldonkey/Makefile
  head/net-p2p/vuze/Makefile
  head/news/cnews/Makefile
  head/print/pdftk/Makefile
  head/science/colt/Makefile
  head/security/i2p/Makefile
  head/security/isakmpd/Makefile
  head/security/py-dfvfs/Makefile
  head/security/py-plaso/Makefile
  head/shells/fd/Makefile
  head/sysutils/cdrdao/Makefile
  head/sysutils/pciutils/Makefile
  head/sysutils/sformat/Makefile
  head/textproc/linuxdoc-tools/Makefile
  head/textproc/msort/Makefile
  head/textproc/te-hunspell/Makefile
  head/www/jericho-html/Makefile
  head/www/tdom/Makefile
  head/www/tinymce/Makefile
  head/www/trac-tags/Makefile
  head/www/trac-wysiwyg/Makefile
  head/www/websh/Makefile
  head/www/zenphoto/Makefile
  head/x11-fonts/fontconfig/Makefile
  head/x11-toolkits/Xmt/Makefile
  head/x11-toolkits/open-motif/Makefile
  head/x11-toolkits/p5-Gtk2/Makefile

--=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-rxGYwMyjSG>