Commit b26c3304 authored by Łukasz Nowak's avatar Łukasz Nowak

- patch python setup to be able to use gdbm

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32594 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3c5ad9f7
python2.4-dbm.patch took from http://bugs.gentoo.org/165268
--- setup.py.orig 2007-02-04 03:04:59.000000000 +0100
+++ setup.py 2007-02-04 03:09:46.000000000 +0100
@@ -684,7 +684,7 @@
and find_file("gdbm/ndbm.h", inc_dirs, []) is not None):
exts.append( Extension('dbm', ['dbmmodule.c'],
define_macros=[('HAVE_GDBM_NDBM_H',None)],
- libraries = ['gdbm'] ) )
+ libraries = ['gdbm_compat', 'gdbm'] ) )
elif db_incs is not None:
exts.append( Extension('dbm', ['dbmmodule.c'],
library_dirs=dblib_dir,
......@@ -22,6 +22,8 @@ configure-options =
--with-dbm
--with-zlib
patches = ${buildout:directory}/patches/python2.4-dbm.patch
executable = ${:prefix}/bin/python${buildout:python_version}
[pythonbin]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment