summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuan Van <langthang@gentoo.org>2005-01-02 07:20:48 +0000
committerTuan Van <langthang@gentoo.org>2005-01-02 07:20:48 +0000
commitecae29e95e7b4812093acab792d21e35ba0e5dba (patch)
tree138d42794c57d03140b37d7af4d3fe5406da436d /net-libs/courier-authlib
parentjust run distutils_pkg_postinst (Manifest recommit) (diff)
downloadgentoo-2-ecae29e95e7b4812093acab792d21e35ba0e5dba.tar.gz
gentoo-2-ecae29e95e7b4812093acab792d21e35ba0e5dba.tar.bz2
gentoo-2-ecae29e95e7b4812093acab792d21e35ba0e5dba.zip
adjust patch for the newer version
Diffstat (limited to 'net-libs/courier-authlib')
-rw-r--r--net-libs/courier-authlib/ChangeLog5
-rw-r--r--net-libs/courier-authlib/files/configure-db4.patch24
2 files changed, 16 insertions, 13 deletions
diff --git a/net-libs/courier-authlib/ChangeLog b/net-libs/courier-authlib/ChangeLog
index 8f5c18c7fec0..f39444a54cec 100644
--- a/net-libs/courier-authlib/ChangeLog
+++ b/net-libs/courier-authlib/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-libs/courier-authlib
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/ChangeLog,v 1.18 2005/01/02 03:59:13 swtaylor Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/ChangeLog,v 1.19 2005/01/02 07:20:48 langthang Exp $
+
+ 01 Jan 2005; Tuan Van <langthang@gentoo.org> files/configure-db4.patch:
+ adjust patch for the newer version.
*courier-authlib-0.52 (01 Jan 2005)
diff --git a/net-libs/courier-authlib/files/configure-db4.patch b/net-libs/courier-authlib/files/configure-db4.patch
index 18b32f88f998..639aa1e7d223 100644
--- a/net-libs/courier-authlib/files/configure-db4.patch
+++ b/net-libs/courier-authlib/files/configure-db4.patch
@@ -10,17 +10,17 @@
AC_LIBTOOL_DLOPEN
@@ -284,15 +283,17 @@
- if test "$db" != "gdbm"
- then
-- AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ],
-- [ AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"],
-- [ AC_CHECK_LIB(db, db_env_create,
-- [ LIBDB=-ldb; LIBS="-ldb $LIBS"]) ]
-- )])
+ if test "$db" != "gdbm"
+ then
+- AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ],
+- [ AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"],
+- [ AC_CHECK_LIB(db, db_env_create,
+- [ LIBDB=-ldb; LIBS="-ldb $LIBS"]) ]
+- )])
-
-- AC_CHECK_FUNC(dbopen, HAVE_BDB=1)
-- AC_CHECK_FUNC(db_open, HAVE_BDB=1)
-- AC_CHECK_FUNC(db_env_create, HAVE_BDB=1)
+- AC_CHECK_FUNC(dbopen, HAVE_BDB=1)
+- AC_CHECK_FUNC(db_open, HAVE_BDB=1)
+- AC_CHECK_FUNC(db_env_create, HAVE_BDB=1)
+ for dbname in db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db
+ do
+ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
@@ -32,9 +32,9 @@
+ AC_CHECK_FUNC(db_create_4001, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create_4000, HAVE_BDB=1)
+ AC_CHECK_FUNC(db_create, HAVE_BDB=1)
- fi
+ fi
- LIBS="$saveLIBS"
+ LIBS="$saveLIBS"
--- bdbobj/configure.in 2001-09-18 18:26:28.000000000 -0700
+++ bdbobj/configure.in 2004-08-14 16:15:08.469316646 -0700
@@ -21,15 +21,19 @@