python: added patch for bdb 4.4.x

This commit is contained in:
Juergen Daubert 2006-02-24 08:54:10 +00:00
parent 6e1d6d9ce7
commit 42f630af4f
4 changed files with 1033 additions and 4 deletions

View File

@ -1,2 +1,3 @@
98db1465629693fc434d4dc52db93838 Python-2.4.2.tar.bz2
572d78932e9b229a9a8ed6fad2cac213 python-2.4.2.patch
3df7e7060e9a8dea0e46e1103b5bf7a0 python-2.4.2-bsddb.patch
84c40c182680d71e2d2330a4f38e5647 python-2.4.2.patch

View File

@ -5,13 +5,16 @@
name=python
version=2.4.2
release=1
release=2
source=(http://www.python.org/ftp/$name/$version/Python-$version.tar.bz2 \
$name-$version.patch)
$name-$version.patch $name-$version-bsddb.patch)
build () {
cd Python-$version
patch -p1 < ../$name-$version.patch
patch -p1 < ../$name-$version-bsddb.patch
./configure --prefix=/usr \
--enable-shared \
--with-threads \
@ -22,6 +25,7 @@ build () {
ln -sf python2.4 $PKG/usr/bin/python
ln -sf python2.4 $PKG/usr/lib/python
ln -sf python2.4 $PKG/usr/include/python
rm -r $PKG/usr/lib/python/{test,{email,bsddb}/test}
rm -r $PKG/usr/lib/python/distutils/tests
}

File diff suppressed because it is too large Load Diff

View File

@ -66,7 +66,7 @@ diff -Nru Python-2.4.2.orig/Modules/Setup.dist Python-2.4.2/Modules/Setup.dist
-#DBLIB=$(DB)/lib
-#_bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb-$(DBLIBVER)
+DB=/usr
+DBLIBVER=4.3
+DBLIBVER=4.4
+DBINC=$(DB)/include
+DBLIB=$(DB)/lib
+_bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb-$(DBLIBVER)