PKGBUILDs/extra/python24/db4.5-setup.py-detection.patch
2009-10-09 21:23:22 -05:00

20 lines
717 B
Diff

--- setup.py 2006-10-08 19:41:25.000000000 +0200
+++ setup.py.new 2007-09-29 13:47:50.000000000 +0200
@@ -522,7 +522,7 @@
#
# http://www.sleepycat.com/update/index.html
- max_db_ver = (4, 4)
+ max_db_ver = (4, 5)
min_db_ver = (3, 2)
db_setup_debug = False # verbose debug prints from this script?
@@ -539,7 +539,7 @@
'/sw/include/db3',
]
# 4.x minor number specific paths
- for x in (0,1,2,3,4):
+ for x in (0,1,2,3,4,5):
db_inc_paths.append('/usr/include/db4%d' % x)
db_inc_paths.append('/usr/include/db4.%d' % x)
db_inc_paths.append('/usr/local/BerkeleyDB.4.%d/include' % x)