From f8c590df03d1b90a89ead1259633cf54bf9f4744 Mon Sep 17 00:00:00 2001 From: Johann Visagie Date: Wed, 6 Feb 2002 13:38:23 +0000 Subject: - Add a patch to get this port to link against libdb3, since it is dependent upon databases/db3. Approved by: No response from maintainer in 24h --- databases/py-bsddb3/files/patch-setup.py | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'databases/py-bsddb3/files/patch-setup.py') diff --git a/databases/py-bsddb3/files/patch-setup.py b/databases/py-bsddb3/files/patch-setup.py index 79ac1bb9659a..bf8ee3a20c30 100644 --- a/databases/py-bsddb3/files/patch-setup.py +++ b/databases/py-bsddb3/files/patch-setup.py @@ -1,6 +1,17 @@ ---- setup.py.orig Mon Apr 9 12:29:06 2001 -+++ setup.py Mon Apr 9 12:29:15 2001 -@@ -90,7 +90,7 @@ +--- setup.py.orig Fri Sep 14 00:15:30 2001 ++++ setup.py Tue Feb 5 12:37:16 2002 +@@ -68,8 +68,8 @@ + # figure out from the base setting where the lib and .h are + if not incdir: incdir = os.path.join(BERKELEYDB_DIR, 'include') + if not libdir: libdir = os.path.join(BERKELEYDB_DIR, 'lib') +- if not '-ldb' in LIBS: +- libname = ['db'] ++ if not '-ldb3' in LIBS: ++ libname = ['db3'] + else: + libname = [] + utils = [] +@@ -93,7 +93,7 @@ if not status and string.find(results, 'libdb.') >= 0: static = 1 -- cgit v1.2.3