changeset 6187:be2aacfcd4ee

tools::python: Also add . to LD_LIBRARY_PATH. Fixes build on Precise.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Sat, 25 Aug 2012 18:27:56 +0200
parents 50b17646c488
children f9623016a78c
files gub/specs/python.py patches/python-2.4.5-regen.patch
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/python.py	Sat Aug 25 17:21:06 2012 +0200
+++ b/gub/specs/python.py	Sat Aug 25 18:27:56 2012 +0200
@@ -180,6 +180,7 @@
 #        'python-2.4.2-fno-stack-protector.patch',
         'python-2.4.5-readline.patch', # Stop python from reading ~/.inputrc
         'python-2.4.5-db4.7.patch',
+        'python-2.4.5-regen.patch',
         ]
     dependencies = [
         'autoconf',
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/python-2.4.5-regen.patch	Sat Aug 25 18:27:56 2012 +0200
@@ -0,0 +1,10 @@
+--- python-2.4.5/Makefile.pre.in.orig	2012-08-25 18:08:27.097922293 +0200
++++ python-2.4.5/Makefile.pre.in	2012-08-25 18:09:08.366878464 +0200
+@@ -770,6 +770,7 @@ $(srcdir)/Lib/$(PLATDIR):
+	mkdir $(srcdir)/Lib/$(PLATDIR)
+	cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(PLATDIR)/regen
+	export PATH; PATH="`pwd`:$$PATH"; \
++	export LD_LIBRARY_PATH; LD_LIBRARY_PATH="`pwd`:$$LD_LIBRARY_PATH"; \
+	export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \
+	export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \
+	export EXE; EXE="$(BUILDEXE)"; \