summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2007-02-27 17:34:53 +0000
committerPatrick McLean <chutzpah@gentoo.org>2007-02-27 17:34:53 +0000
commit9ec9c9796bf897780f44d8a4c5d1cfd5406ab27f (patch)
treee22c066dd95123310fd3e2ab09303b5793a2aff1 /net-mail/courier-imap/files
parentfix [[ file not found error (diff)
downloadgentoo-2-9ec9c9796bf897780f44d8a4c5d1cfd5406ab27f.tar.gz
gentoo-2-9ec9c9796bf897780f44d8a4c5d1cfd5406ab27f.tar.bz2
gentoo-2-9ec9c9796bf897780f44d8a4c5d1cfd5406ab27f.zip
Add patch to remove AC_PROG_SYSCONFTOOL from configure.in, move patch out of -db4-configure.in.patch (fixes bug #168206).
(Portage version: 2.1.2-r10)
Diffstat (limited to 'net-mail/courier-imap/files')
-rw-r--r--net-mail/courier-imap/files/courier-imap-4.1.2-aclocal-fix.patch10
-rw-r--r--net-mail/courier-imap/files/courier-imap-4.1.2-db4-configure.in.patch34
2 files changed, 44 insertions, 0 deletions
diff --git a/net-mail/courier-imap/files/courier-imap-4.1.2-aclocal-fix.patch b/net-mail/courier-imap/files/courier-imap-4.1.2-aclocal-fix.patch
new file mode 100644
index 000000000000..f8cb78adaf07
--- /dev/null
+++ b/net-mail/courier-imap/files/courier-imap-4.1.2-aclocal-fix.patch
@@ -0,0 +1,10 @@
+--- courier-imap-4.1.2.orig/configure.in 2006-12-30 09:28:52.000000000 -0500
++++ courier-imap-4.1.2/configure.in 2007-02-27 12:13:38.000000000 -0500
+@@ -16,7 +16,6 @@
+ AC_PROG_INSTALL
+ AC_PROG_LN_S
+ AC_PROG_MAKE_SET
+-AC_PROG_SYSCONFTOOL
+ AC_LIBTOOL_DLOPEN
+ AM_PROG_LIBTOOL
+
diff --git a/net-mail/courier-imap/files/courier-imap-4.1.2-db4-configure.in.patch b/net-mail/courier-imap/files/courier-imap-4.1.2-db4-configure.in.patch
new file mode 100644
index 000000000000..03d2c03912a8
--- /dev/null
+++ b/net-mail/courier-imap/files/courier-imap-4.1.2-db4-configure.in.patch
@@ -0,0 +1,34 @@
+--- configure.in.orig 2004-11-16 16:02:11.045791896 -0800
++++ configure.in 2004-11-16 16:03:06.743324584 -0800
+@@ -150,16 +149,22 @@
+
+ if test "$db" != "gdbm"
+ then
++ 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
++ do
++ AC_CHECK_LIB($dbname, db_create_4004, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
++ AC_CHECK_LIB($dbname, db_create_4003, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
++ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
++ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
++ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ],
++ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ]))))))
++ done
++ AC_CHECK_FUNC(db_create_4004, HAVE_BDB=1)
++ AC_CHECK_FUNC(db_create_4003, HAVE_BDB=1)
++ AC_CHECK_FUNC(db_create_4002, HAVE_BDB=1)
++ 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)
+
+- 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)
+ fi
+
+ LIBS="$saveLIBS"