summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'security/cyrus-sasl/patches/patch-ad')
-rw-r--r--security/cyrus-sasl/patches/patch-ad10
1 files changed, 8 insertions, 2 deletions
diff --git a/security/cyrus-sasl/patches/patch-ad b/security/cyrus-sasl/patches/patch-ad
index 11af30062c4..4a1b51f38ad 100644
--- a/security/cyrus-sasl/patches/patch-ad
+++ b/security/cyrus-sasl/patches/patch-ad
@@ -1,8 +1,14 @@
-$NetBSD: patch-ad,v 1.4 2006/04/18 17:41:30 jlam Exp $
+$NetBSD: patch-ad,v 1.5 2006/11/02 13:02:39 obache Exp $
--- cmulocal/berkdb.m4.orig 2005-04-26 15:14:07.000000000 -0400
+++ cmulocal/berkdb.m4
-@@ -218,7 +218,7 @@ AC_DEFUN([CYRUS_BERKELEY_DB_CHK_LIB],
+@@ -213,12 +213,12 @@ AC_DEFUN([CYRUS_BERKELEY_DB_CHK_LIB],
+ fi
+
+ saved_LIBS=$LIBS
+- for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
++ for dbname in ${BDB_TYPE} db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
+ do
LIBS="$saved_LIBS -l$dbname"
AC_TRY_LINK([#include <db.h>],
[db_create(NULL, NULL, 0);],