83c8af6
diff -up Python-2.6.4/Modules/Setup.dist.setup-db48 Python-2.6.4/Modules/Setup.dist
83c8af6
--- Python-2.6.4/Modules/Setup.dist.setup-db48	2009-12-17 22:05:07.000020150 -0500
83c8af6
+++ Python-2.6.4/Modules/Setup.dist	2009-12-17 22:05:12.545015367 -0500
83c8af6
@@ -411,7 +411,7 @@ gdbm gdbmmodule.c -lgdbm
83c8af6
 #
83c8af6
 # Edit the variables DB and DBLIBVERto point to the db top directory
83c8af6
 # and the subdirectory of PORT where you built it.
83c8af6
-DBLIBVER=4.7
83c8af6
+DBLIBVER=4.8
83c8af6
 DBINC=/usr/include/db4
83c8af6
 DBLIB=/usr/lib
83c8af6
 _bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb-$(DBLIBVER)
83c8af6
diff -up Python-2.6.4/setup.py.setup-db48 Python-2.6.4/setup.py
83c8af6
--- Python-2.6.4/setup.py.setup-db48	2009-12-17 22:03:58.048015993 -0500
83c8af6
+++ Python-2.6.4/setup.py	2009-12-17 22:03:58.169016398 -0500
83c8af6
@@ -705,9 +705,9 @@ class PyBuildExt(build_ext):
83c8af6
         # a release.  Most open source OSes come with one or more
83c8af6
         # versions of BerkeleyDB already installed.
83c8af6
 
83c8af6
-        max_db_ver = (4, 7)
83c8af6
+        max_db_ver = (4, 8)
83c8af6
         min_db_ver = (3, 3)
83c8af6
-        db_setup_debug = False   # verbose debug prints from this script?
83c8af6
+        db_setup_debug = True   # verbose debug prints from this script?
83c8af6
 
83c8af6
         def allow_db_ver(db_ver):
83c8af6
             """Returns a boolean if the given BerkeleyDB version is acceptable.