[Python-checkins] python/dist/src setup.py,1.204.2.2,1.204.2.3
aimacintyre at users.sourceforge.net
aimacintyre at users.sourceforge.net
Wed Mar 9 23:27:27 CET 2005
Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31422
Modified Files:
Tag: release24-maint
setup.py
Log Message:
backport v1.216: add support for another DB library naming convention \n(FreeBSD ports) - patch #1146231
Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.204.2.2
retrieving revision 1.204.2.3
diff -u -d -r1.204.2.2 -r1.204.2.3
--- setup.py 8 Mar 2005 15:05:14 -0000 1.204.2.2
+++ setup.py 9 Mar 2005 22:27:24 -0000 1.204.2.3
@@ -569,7 +569,9 @@
# XXX should we -ever- look for a dbX name? Do any
# systems really not name their library by version and
# symlink to more general names?
- for dblib in (('db-%d.%d' % db_ver), ('db%d' % db_ver[0])):
+ for dblib in (('db-%d.%d' % db_ver),
+ ('db%d%d' % db_ver),
+ ('db%d' % db_ver[0])):
dblib_file = self.compiler.find_library_file(
db_dirs_to_check + lib_dirs, dblib )
if dblib_file:
More information about the Python-checkins
mailing list