summaryrefslogtreecommitdiff
path: root/lang/python32/files/patch-Makefile.pre.in
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python32/files/patch-Makefile.pre.in')
-rw-r--r--lang/python32/files/patch-Makefile.pre.in46
1 files changed, 46 insertions, 0 deletions
diff --git a/lang/python32/files/patch-Makefile.pre.in b/lang/python32/files/patch-Makefile.pre.in
new file mode 100644
index 000000000000..500fb5a736e8
--- /dev/null
+++ b/lang/python32/files/patch-Makefile.pre.in
@@ -0,0 +1,46 @@
+--- ./Makefile.pre.in.orig 2013-04-06 11:38:41.000000000 +0400
++++ ./Makefile.pre.in 2013-04-08 17:48:45.000000000 +0400
+@@ -277,21 +277,21 @@
+
+ ##########################################################################
+ # AST
+-AST_H_DIR= Include
++AST_H_DIR= $(srcdir)/Include
+ AST_H= $(AST_H_DIR)/Python-ast.h
+-AST_C_DIR= Python
++AST_C_DIR= $(srcdir)/Python
+ AST_C= $(AST_C_DIR)/Python-ast.c
+ AST_ASDL= $(srcdir)/Parser/Python.asdl
+
+ ASDLGEN_FILES= $(srcdir)/Parser/asdl.py $(srcdir)/Parser/asdl_c.py
+ # XXX Note that a build now requires Python exist before the build starts
+-ASDLGEN= @ASDLGEN@ $(srcdir)/Parser/asdl_c.py
++ASDLGEN= @DISABLE_ASDLGEN@ $(srcdir)/Parser/asdl_c.py
+
+ ##########################################################################
+ # Python
+
+ OPCODETARGETS_H= \
+- Python/opcode_targets.h
++ $(srcdir)/Python/opcode_targets.h
+
+ OPCODETARGETGEN= \
+ $(srcdir)/Python/makeopcodetargets.py
+@@ -676,7 +676,7 @@
+ Objects/setobject.o: $(srcdir)/Objects/stringlib/eq.h
+
+ $(OPCODETARGETS_H): $(OPCODETARGETGEN_FILES)
+- $(OPCODETARGETGEN) $(OPCODETARGETS_H)
++# $(OPCODETARGETGEN) $(OPCODETARGETS_H)
+
+ Python/ceval.o: $(OPCODETARGETS_H) Python/ceval_gil.h
+
+@@ -686,7 +686,7 @@
+
+ Objects/typeobject.o: Objects/typeslots.inc
+ Objects/typeslots.inc: $(srcdir)/Include/typeslots.h $(srcdir)/Objects/typeslots.py
+- $(PYTHON) $(srcdir)/Objects/typeslots.py < $(srcdir)/Include/typeslots.h > Objects/typeslots.inc
++# $(PYTHON) $(srcdir)/Objects/typeslots.py < $(srcdir)/Include/typeslots.h > Objects/typeslots.inc
+
+ ############################################################################
+ # Header files