diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-03-17 04:02:25 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-03-19 19:48:08 +0100 |
commit | 9e65605e27d269b03863059f3fdd794182e7b96c (patch) | |
tree | b0bc19b13a41e6ec43956d6c4708db294e318473 /package/python2/patches/patch-Makefile_pre_in | |
parent | f62b422e5a2b7bb834e061267c48f5db7b069c0e (diff) |
python2: update to 2.7.13, simplify patches
Diffstat (limited to 'package/python2/patches/patch-Makefile_pre_in')
-rw-r--r-- | package/python2/patches/patch-Makefile_pre_in | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/package/python2/patches/patch-Makefile_pre_in b/package/python2/patches/patch-Makefile_pre_in index b68b57028..bcb0e1f6b 100644 --- a/package/python2/patches/patch-Makefile_pre_in +++ b/package/python2/patches/patch-Makefile_pre_in @@ -1,14 +1,6 @@ ---- Python-2.7.9.orig/Makefile.pre.in 2014-12-10 16:59:50.000000000 +0100 -+++ Python-2.7.9/Makefile.pre.in 2015-04-11 14:06:58.373384200 +0200 -@@ -234,6 +234,7 @@ LIBFFI_INCLUDEDIR= @LIBFFI_INCLUDEDIR@ - ########################################################################## - # Parser - PGEN= Parser/pgen$(EXE) -+HOSTPGEN?= Parser/pgen$(EXE) - - PSRCS= \ - Parser/acceler.c \ -@@ -474,7 +475,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.tx +--- Python-2.7.13.orig/Makefile.pre.in 2016-12-17 21:05:06.000000000 +0100 ++++ Python-2.7.13/Makefile.pre.in 2017-03-16 19:38:14.000000000 +0100 +@@ -545,7 +545,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.tx esac; \ $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ _TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \ @@ -17,16 +9,7 @@ # Build static library # avoid long command lines, same as LIBRARY_OBJS -@@ -611,7 +612,7 @@ Modules/pwdmodule.o: $(srcdir)/Modules/p - $(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGENSRCS) - @$(MKDIR_P) Include - $(MAKE) $(PGEN) -- $(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) -+ $(HOSTPGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) - $(GRAMMAR_C): $(GRAMMAR_H) $(GRAMMAR_INPUT) $(PGENSRCS) - $(MAKE) $(GRAMMAR_H) - touch $(GRAMMAR_C) -@@ -1042,28 +1043,6 @@ libinstall: build_all $(srcdir)/Lib/$(PL +@@ -1120,28 +1120,6 @@ libinstall: build_all $(srcdir)/Lib/$(PL $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \ $(DESTDIR)$(LIBDEST)/distutils/tests ; \ fi |