void-packages/templates/python-2.5.2-fix-build.diff
Juan RP 2a2f97a1da Really fix python build this time, and use some patches from pkgsrc
to fix curses, mremap, and bluetooth modules.

--HG--
extra : convert_revision : fd555dc3aeb2085fe1d7913bd5d4fdc24c41959e
2008-09-30 17:16:02 +02:00

12 lines
506 B
Diff

--- Makefile.pre.in.orig 2007-12-05 21:43:57.000000000 +0100
+++ Makefile.pre.in 2008-09-30 16:56:46.000000000 +0200
@@ -806,7 +806,7 @@ $(srcdir)/Lib/$(PLATDIR):
export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \
export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \
export EXE; EXE="$(BUILDEXE)"; \
- cd $(srcdir)/Lib/$(PLATDIR); ./regen
+ cd $(srcdir)/Lib/$(PLATDIR); $(RUNSHARED) ./regen
# Install the include files
INCLDIRSTOMAKE=$(INCLUDEDIR) $(CONFINCLUDEDIR) $(INCLUDEPY) $(CONFINCLUDEPY)