# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../python2/use-hostpgen.patch.cross # Copyright (C) 2014 - 2018 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- --- Python-2.7.13/Makefile.pre.in.vanilla 2018-01-16 23:02:18.066070345 +0000 +++ Python-2.7.13/Makefile.pre.in 2018-01-16 23:03:08.090068514 +0000 @@ -231,6 +231,7 @@ ########################################################################## # Parser PGEN= Parser/pgen$(EXE) +HOSTPGEN= python-pgen PSRCS= \ Parser/acceler.c \ @@ -682,7 +682,7 @@ $(GRAMMAR_H): @GENERATED_COMMENT@ $(GRAMMAR_INPUT) $(PGEN) @$(MKDIR_P) Include - $(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) + $(HOSTPGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) $(GRAMMAR_C): @GENERATED_COMMENT@ $(GRAMMAR_H) touch $(GRAMMAR_C)