summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-10-27 09:21:58 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-10-27 09:21:58 +0000
commit7e9ebe5cd1d43ea25bfa1933eaa3c21ba7e5ac33 (patch)
tree9f4a35dc98429d37f2dc93f9297285a142193483 /dev-lang/python/files
parentbsddb4 fixes (diff)
downloadgentoo-2-7e9ebe5cd1d43ea25bfa1933eaa3c21ba7e5ac33.tar.gz
gentoo-2-7e9ebe5cd1d43ea25bfa1933eaa3c21ba7e5ac33.tar.bz2
gentoo-2-7e9ebe5cd1d43ea25bfa1933eaa3c21ba7e5ac33.zip
bsddb4 fixes
Diffstat (limited to 'dev-lang/python/files')
-rw-r--r--dev-lang/python/files/digest-python-2.2.3-r51
-rw-r--r--dev-lang/python/files/python-2.2.3-db4.patch4
2 files changed, 3 insertions, 2 deletions
diff --git a/dev-lang/python/files/digest-python-2.2.3-r5 b/dev-lang/python/files/digest-python-2.2.3-r5
new file mode 100644
index 000000000000..283c3d783859
--- /dev/null
+++ b/dev-lang/python/files/digest-python-2.2.3-r5
@@ -0,0 +1 @@
+MD5 169f89f318e252dac0c54dd1b165d229 Python-2.2.3.tgz 6709556
diff --git a/dev-lang/python/files/python-2.2.3-db4.patch b/dev-lang/python/files/python-2.2.3-db4.patch
index 14ebed87023e..2405f8e0fd0c 100644
--- a/dev-lang/python/files/python-2.2.3-db4.patch
+++ b/dev-lang/python/files/python-2.2.3-db4.patch
@@ -8,7 +8,7 @@
- dblib = ['db-3.2']
+ if self.compiler.find_library_file(lib_dirs, 'db-4.1'):
+ dblib = ['db-4.1']
-+ if self.compiler.find_library_file(lib_dirs, 'db-4.0'):
++ elif self.compiler.find_library_file(lib_dirs, 'db-4.0'):
+ dblib = ['db-4.0']
+ elif self.compiler.find_library_file(lib_dirs, 'db-3.2'):
+ dblib = ['db-3.2']
@@ -20,7 +20,7 @@
db185_incs = find_file('db_185.h', inc_dirs,
- ['/usr/include/db3', '/usr/include/db2'])
-+ ['/usr/include/db4','/usr/include/db3', '/usr/include/db2'])
++ ['/usr/include/db4.1','/usr/include/db4','/usr/include/db3', '/usr/include/db2'])
db_inc = find_file('db.h', inc_dirs, ['/usr/include/db1'])
if db185_incs is not None:
exts.append( Extension('bsddb', ['bsddbmodule.c'],