[Python-checkins] cpython (merge 3.5 -> 3.6): Issue #28258: Fixed build with Estonian locale (python-config and distclean
serhiy.storchaka
python-checkins at python.org
Thu Sep 29 13:48:05 EDT 2016
https://hg.python.org/cpython/rev/1b9e71f5de83
changeset: 104158:1b9e71f5de83
branch: 3.6
parent: 104155:eac20127d51e
parent: 104157:6110997dd6e7
user: Serhiy Storchaka <storchaka at gmail.com>
date: Thu Sep 29 20:39:45 2016 +0300
summary:
Issue #28258: Fixed build with Estonian locale (python-config and distclean
targets in Makefile). Patch by Arfrever Frehtes Taifersar Arahesis.
files:
Makefile.pre.in | 4 ++--
Misc/NEWS | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1347,7 +1347,7 @@
# is not available in configure
sed -e "s, at 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}
- 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 @@
Modules/Setup Modules/Setup.local Modules/Setup.config \
Modules/ld_so_aix Modules/python.exp Misc/python.pc
-rm -f python*-gdb.py
- find $(srcdir)/[a-zA-Z]* '(' -name '*.fdc' -o -name '*~' \
+ LC_ALL=C; find $(srcdir)/[a-zA-Z]* '(' -name '*.fdc' -o -name '*~' \
-o -name '[@,#]*' -o -name '*.old' \
-o -name '*.orig' -o -name '*.rej' \
-o -name '*.bak' ')' \
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -155,6 +155,9 @@
Build
-----
+- Issue #28258: Fixed build with Estonian locale (python-config and distclean
+ targets in Makefile). Patch by Arfrever Frehtes Taifersar Arahesis.
+
- Issue #26661: setup.py now detects system libffi with multiarch wrapper.
- Issue #15819: Remove redundant include search directory option for building
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list