[package] add pcapsipdump and link it against uclibc++ preferably (#4969)
[openwrt/svn-archive/archive.git] / lang / python / patches / 070-dont-clean-ipkg-install.patch
1 --- Python-2.5.1/Makefile.pre.in.orig 2008-10-02 12:30:28.000000000 +0200
2 +++ Python-2.5.1/Makefile.pre.in 2008-10-02 12:31:50.000000000 +0200
3 @@ -996,11 +996,11 @@
4 # Sanitation targets -- clean leaves libraries, executables and tags
5 # files, which clobber removes those as well
6 pycremoval:
7 - find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
8 + find $(srcdir) ! -path './ipkg-install/*' -name '*.py[co]' -exec rm -f {} ';'
9
10 clean: pycremoval
11 - find . -name '*.o' -exec rm -f {} ';'
12 - find . -name '*.s[ol]' -exec rm -f {} ';'
13 + find . ! -path './ipkg-install/*' -name '*.o' -exec rm -f {} ';'
14 + find . ! -path './ipkg-install/*' -name '*.s[ol]' -exec rm -f {} ';'
15 find $(srcdir)/build -name 'fficonfig.h' -exec rm -f {} ';' || true
16 find $(srcdir)/build -name 'fficonfig.py' -exec rm -f {} ';' || true
17