summaryrefslogtreecommitdiff
path: root/databases/py-bsddb3/patches/patch-aa
blob: 727268529c311053cab50508d25578d2ef162ebb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-aa,v 1.2 2004/02/10 17:56:55 minskim Exp $

--- setup.py.orig	2003-07-08 23:41:34.000000000 -0500
+++ setup.py
@@ -75,11 +75,11 @@ if os.name == 'posix':
 
     # figure out from the base setting where the lib and .h are
     if not incdir:
-        incdir = os.path.join(BERKELEYDB_DIR, 'include')
+        incdir = os.path.join(BERKELEYDB_DIR, 'include/db4')
     if not libdir:
         libdir = os.path.join(BERKELEYDB_DIR, 'lib')
-    if not '-ldb' in LIBS:
-        libname = ['db']
+    if not '-ldb4' in LIBS:
+        libname = ['db4']
     else:
         libname = []
     utils = []