aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/python26/Python-no-export-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/target/python26/Python-no-export-path.patch')
-rw-r--r--tools/depends/target/python26/Python-no-export-path.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/depends/target/python26/Python-no-export-path.patch b/tools/depends/target/python26/Python-no-export-path.patch
new file mode 100644
index 0000000000..6753baa9c8
--- /dev/null
+++ b/tools/depends/target/python26/Python-no-export-path.patch
@@ -0,0 +1,12 @@
+diff -ruN Makefile.pre.in Makefile.pre.in
+--- Makefile.pre.in 2012-07-12 17:52:37.072234980 -0400
++++ Makefile.pre.in 2012-07-13 15:45:36.522185303 -0400
+@@ -912,8 +912,6 @@
+ $(srcdir)/Lib/$(PLATDIR):
+ mkdir $(srcdir)/Lib/$(PLATDIR)
+ cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(PLATDIR)/regen
+- export PATH; PATH="`pwd`:$$PATH"; \
+- export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \
+ export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \
+ export EXE; EXE="$(BUILDEXE)"; \
+ cd $(srcdir)/Lib/$(PLATDIR); $(RUNSHARED) ./regen \ No newline at end of file