cpython: a2c5179bce01 (original) (raw)

Mercurial > cpython

changeset 104159:a2c5179bce01

Issue #28258: Fixed build with Estonian locale (python-config and distclean targets in Makefile). Patch by Arfrever Frehtes Taifersar Arahesis. [#28258]

Serhiy Storchaka storchaka@gmail.com
date Thu, 29 Sep 2016 20:46:08 +0300
parents 9485165435e4(current diff)1b9e71f5de83(diff)
children dcb39d3ba67a
files Makefile.pre.in Misc/NEWS
diffstat 2 files changed, 5 insertions(+), 2 deletions(-)[+] [-] Makefile.pre.in 4 Misc/NEWS 3

line wrap: on

line diff

--- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1347,7 +1347,7 @@ python-config: $(srcdir)/Misc/python-con @ # is not available in configure sed -e "s,@EXENAME@,$(BINDIR)/python$(LDVERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config.py @ # Replace makefile compat. variable references with shell script compat. ones; (VAR)−>(VAR) -> (VAR)>{VAR} - sed -e 's,$$(([A-Za-z0-9_])),$${\1},g' < Misc/python-config.sh >python-config + LC_ALL=C sed -e 's,$$(([A-Za-z0-9_])),$${\1},g' < Misc/python-config.sh >python-config @ # On Darwin, always use the python version of the script, the shell @ # version doesn't use the compiler customizations that are provided @ # in python (_osx_support.py). @@ -1630,7 +1630,7 @@ distclean: clobber Modules/Setup Modules/Setup.local Modules/Setup.config [](#l1.13) Modules/ld_so_aix Modules/python.exp Misc/python.pc -rm -f python-gdb.py - find $(srcdir)/[a-zA-Z] '(' -name '.fdc' -o -name '' [](#l1.16) + LC_ALL=C; find $(srcdir)/[a-zA-Z]* '(' -name '.fdc' -o -name '' [](#l1.17) -o -name '[@,#]' -o -name '.old' [](#l1.18) -o -name '.orig' -o -name '.rej' [](#l1.19) -o -name '*.bak' ')' [](#l1.20)

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -161,6 +161,9 @@ Windows Build ----- +- Issue #28258: Fixed build with Estonian locale (python-config and distclean