From b584c170bcbe85a51e0e2a278a6a0f12fb729a31 Mon Sep 17 00:00:00 2001 From: Mathieu Date: Sun, 16 Nov 2003 18:26:35 +0000 Subject: [PATCH] Mathieu Doidy : patch to fix the shared files with python in stage 9 it prevents the recompilation of 3rd-party packages git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1780 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- Documentation/Developers/CHANGELOG-RENE | 2 +- package/base/python/no-site-package.patch | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 package/base/python/no-site-package.patch diff --git a/Documentation/Developers/CHANGELOG-RENE b/Documentation/Developers/CHANGELOG-RENE index 35dce89c0..66ab423da 100644 --- a/Documentation/Developers/CHANGELOG-RENE +++ b/Documentation/Developers/CHANGELOG-RENE @@ -8,7 +8,7 @@ - Mathieu Doidy: mathieu's repository update: bitlbee (0.82), bogofilter (0.15.7), liferea (0.4.4), mldonkey (2.5-4), mpc (0.9.2), mpd (0.9.3) and xcdroast (0.98alpha15) - fixed gjiten + fixed gjiten and python shared files *) 2003-11-14 (2.0.0-rc2 - 2.0.0-rc3) diff --git a/package/base/python/no-site-package.patch b/package/base/python/no-site-package.patch new file mode 100644 index 000000000..94360cb28 --- /dev/null +++ b/package/base/python/no-site-package.patch @@ -0,0 +1,18 @@ +diff -ru Python-2.3.old/Makefile.pre.in Python-2.3/Makefile.pre.in +--- Python-2.3.old/Makefile.pre.in 2003-07-13 12:10:42.000000000 +0200 ++++ Python-2.3/Makefile.pre.in 2003-11-15 20:22:02.000000000 +0100 +@@ -709,14 +709,6 @@ + ./$(BUILDPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \ + -d $(LIBDEST) -f \ + -x 'badsyntax|site-packages' $(DESTDIR)$(LIBDEST) +- PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ +- ./$(BUILDPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \ +- -d $(LIBDEST)/site-packages -f \ +- -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages +- PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ +- ./$(BUILDPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \ +- -d $(LIBDEST)/site-packages -f \ +- -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages + + # Create the PLATDIR source directory, if one wasn't distributed.. + $(srcdir)/Lib/$(PLATDIR):