summaryrefslogtreecommitdiff
path: root/mail/dovecot/patches
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2006-02-12 02:47:31 +0000
committergrant <grant@pkgsrc.org>2006-02-12 02:47:31 +0000
commitbc0be5a13e51592a9e5bfb218f8e89cd72cc9591 (patch)
tree4acd8850984fd1ca56bf3bc92fda7341a7b8da03 /mail/dovecot/patches
parent776b76ad4be95b0278e4d93001771c240ac57eba (diff)
downloadpkgsrc-bc0be5a13e51592a9e5bfb218f8e89cd72cc9591.tar.gz
- add kqueue option (off by default - perhaps it should be on by
default at the next version bump?) - set SSL_{CFLAGS,LIBS} when calling configure script so they are found correctly on Solaris, and make the configure script do what it claims and ignore pkg-config when these are set. - add lib-sql Makefile patch from Dovecot CVS so this builds correctly when no SQL auth support is built.
Diffstat (limited to 'mail/dovecot/patches')
-rw-r--r--mail/dovecot/patches/patch-ac41
-rw-r--r--mail/dovecot/patches/patch-ad23
2 files changed, 64 insertions, 0 deletions
diff --git a/mail/dovecot/patches/patch-ac b/mail/dovecot/patches/patch-ac
new file mode 100644
index 00000000000..154b1d57329
--- /dev/null
+++ b/mail/dovecot/patches/patch-ac
@@ -0,0 +1,41 @@
+$NetBSD: patch-ac,v 1.3 2006/02/12 02:47:32 grant Exp $
+
+--- configure.orig 2006-02-08 21:13:57.000000000 +1100
++++ configure
+@@ -27710,7 +27710,7 @@ pkg_failed=no
+ echo "$as_me:$LINENO: checking for SSL" >&5
+ echo $ECHO_N "checking for SSL... $ECHO_C" >&6
+
+-if test -n "$PKG_CONFIG"; then
++#if test -n "$PKG_CONFIG"; then
+ if test -n "$SSL_CFLAGS"; then
+ pkg_cv_SSL_CFLAGS="$SSL_CFLAGS"
+ else
+@@ -27725,10 +27725,10 @@ else
+ pkg_failed=yes
+ fi
+ fi
+-else
+- pkg_failed=untried
+-fi
+-if test -n "$PKG_CONFIG"; then
++#else
++# pkg_failed=untried
++#fi
++#if test -n "$PKG_CONFIG"; then
+ if test -n "$SSL_LIBS"; then
+ pkg_cv_SSL_LIBS="$SSL_LIBS"
+ else
+@@ -27743,9 +27743,9 @@ else
+ pkg_failed=yes
+ fi
+ fi
+-else
+- pkg_failed=untried
+-fi
++#else
++# pkg_failed=untried
++#fi
+
+
+
diff --git a/mail/dovecot/patches/patch-ad b/mail/dovecot/patches/patch-ad
new file mode 100644
index 00000000000..91b4bf8d10a
--- /dev/null
+++ b/mail/dovecot/patches/patch-ad
@@ -0,0 +1,23 @@
+$NetBSD: patch-ad,v 1.3 2006/02/12 02:47:32 grant Exp $
+
+--- src/lib-sql/Makefile.in.orig 2006-02-08 21:13:53.000000000 +1100
++++ src/lib-sql/Makefile.in
+@@ -470,12 +470,16 @@ sql-drivers-register.c: Makefile
+ echo '/* this file automatically generated by Makefile */' >$@
+ echo '#include "lib.h"' >>$@
+ echo '#include "sql-api.h"' >>$@
+- for i in $(sql_drivers) ; do \
++ for i in $(sql_drivers) null; do \
++ if [ "$${i}" != "null" ]; then \
+ echo "extern struct sql_db driver_$${i}_db;" >>$@ ; \
++ fi \
+ done
+ echo 'void sql_drivers_register_all(void) {' >>$@
+- for i in $(sql_drivers) ; do \
++ for i in $(sql_drivers) null; do \
++ if [ "$${i}" != "null" ]; then \
+ echo "sql_driver_register(&driver_$${i}_db);" >>$@ ; \
++ fi \
+ done
+ echo '}' >>$@
+