devel/python python-2.5.1-db46.patch,1.1,1.2
Jeremy Katz (katzj)
fedora-extras-commits at redhat.com
Tue Aug 14 18:11:27 UTC 2007
Author: katzj
Update of /cvs/pkgs/devel/python
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4875
Modified Files:
python-2.5.1-db46.patch
Log Message:
make the build more verbose
python-2.5.1-db46.patch:
Index: python-2.5.1-db46.patch
===================================================================
RCS file: /cvs/pkgs/devel/python/python-2.5.1-db46.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- python-2.5.1-db46.patch 14 Aug 2007 14:38:32 -0000 1.1
+++ python-2.5.1-db46.patch 14 Aug 2007 18:11:24 -0000 1.2
@@ -1,15 +1,52 @@
diff -up Python-2.5.1/setup.py.db46 Python-2.5.1/setup.py
---- Python-2.5.1/setup.py.db46 2007-08-14 10:25:42.000000000 -0400
-+++ Python-2.5.1/setup.py 2007-08-14 10:26:11.000000000 -0400
-@@ -606,7 +606,7 @@ class PyBuildExt(build_ext):
+--- Python-2.5.1/setup.py.db46 2007-08-14 12:53:45.000000000 -0400
++++ Python-2.5.1/setup.py 2007-08-14 14:11:08.000000000 -0400
+@@ -244,7 +244,7 @@ class PyBuildExt(build_ext):
+
+ def detect_modules(self):
+ # Ensure that /usr/local is always used
+- add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
++ add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib64')
+ add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
+
+ # Add paths specified in the environment variables LDFLAGS and
+@@ -496,11 +496,11 @@ class PyBuildExt(build_ext):
+ elif self.compiler.find_library_file(lib_dirs, 'curses'):
+ readline_libs.append('curses')
+ elif self.compiler.find_library_file(lib_dirs +
+- ['/usr/lib/termcap'],
++ ['/usr/lib64/termcap'],
+ 'termcap'):
+ readline_libs.append('termcap')
+ exts.append( Extension('readline', ['readline.c'],
+- library_dirs=['/usr/lib/termcap'],
++ library_dirs=['/usr/lib64/termcap'],
+ extra_link_args=readline_extra_link_args,
+ libraries=readline_libs) )
+ if platform not in ['mac']:
+@@ -532,8 +532,8 @@ class PyBuildExt(build_ext):
+ if krb5_h:
+ ssl_incs += krb5_h
+ ssl_libs = find_library_file(self.compiler, 'ssl',lib_dirs,
+- ['/usr/local/ssl/lib',
+- '/usr/contrib/ssl/lib/'
++ ['/usr/local/ssl/lib64',
++ '/usr/contrib/ssl/lib64/'
+ ] )
+
+ if (ssl_incs is not None and
+@@ -606,9 +606,9 @@ class PyBuildExt(build_ext):
# a release. Most open source OSes come with one or more
# versions of BerkeleyDB already installed.
- max_db_ver = (4, 5)
+ max_db_ver = (4, 6)
min_db_ver = (3, 3)
- db_setup_debug = False # verbose debug prints from this script?
+- db_setup_debug = False # verbose debug prints from this script?
++ db_setup_debug = True # verbose debug prints from this script?
+ # construct a list of paths to look for the header file in on
+ # top of the normal inc_dirs.
@@ -623,7 +623,7 @@ class PyBuildExt(build_ext):
'/sw/include/db3',
]
@@ -19,3 +56,12 @@
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)
+@@ -646,7 +646,7 @@ class PyBuildExt(build_ext):
+ for dn in inc_dirs:
+ std_variants.append(os.path.join(dn, 'db3'))
+ std_variants.append(os.path.join(dn, 'db4'))
+- for x in (0,1,2,3,4):
++ for x in (0,1,2,3,4,5,6):
+ std_variants.append(os.path.join(dn, "db4%d"%x))
+ std_variants.append(os.path.join(dn, "db4.%d"%x))
+ for x in (2,3):
More information about the fedora-extras-commits
mailing list