$OpenBSD: patch-setup_py,v 1.3 2001/10/16 15:46:51 naddy Exp $
--- setup.py.orig	Mon Jul 16 18:00:32 2001
+++ setup.py	Tue Oct 16 17:23:57 2001
@@ -346,22 +346,9 @@ class PyBuildExt(build_ext):
         # (See http://electricrain.com/greg/python/bsddb3/ for an interface to
         # BSD DB 3.x.)
 
-        dblib = []
-        if self.compiler.find_library_file(lib_dirs, 'db'):
-            dblib = ['db']
-        
-        db185_incs = find_file('db_185.h', inc_dirs,
-                               ['/usr/include/db3', '/usr/include/db2'])
-        db_inc = find_file('db.h', inc_dirs, ['/usr/include/db1'])
-        if db185_incs is not None:
-            exts.append( Extension('bsddb', ['bsddbmodule.c'],
-                                   include_dirs = db185_incs,
-                                   define_macros=[('HAVE_DB_185_H',1)],
-                                   libraries = dblib ) )
-        elif db_inc is not None:
-            exts.append( Extension('bsddb', ['bsddbmodule.c'],
-                                   include_dirs = db_inc,
-                                   libraries = dblib) )
+        exts.append( Extension('bsddb', ['bsddbmodule.c'],
+                                   include_dirs = ['/usr/include'],
+                                   libraries = []) )
 
         # The mpz module interfaces to the GNU Multiple Precision library.
         # You need to ftp the GNU MP library.
@@ -608,7 +595,8 @@ def main():
           ext_modules=[Extension('struct', ['structmodule.c'])],
 
           # Scripts to install
-          scripts = ['Tools/scripts/pydoc']
+          #scripts = ['Tools/scripts/pydoc']
+          scripts = []
         )
 
 # --install-platlib
