summaryrefslogtreecommitdiff
path: root/mail/dovecot/options.mk
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/options.mk
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/options.mk')
-rw-r--r--mail/dovecot/options.mk14
1 files changed, 12 insertions, 2 deletions
diff --git a/mail/dovecot/options.mk b/mail/dovecot/options.mk
index f1944140890..b1069af9223 100644
--- a/mail/dovecot/options.mk
+++ b/mail/dovecot/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.13 2006/02/09 09:09:28 ghen Exp $
+# $NetBSD: options.mk,v 1.14 2006/02/12 02:47:32 grant Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dovecot
-PKG_SUPPORTED_OPTIONS= inet6 ldap mysql pam pgsql sasl sqlite
+PKG_SUPPORTED_OPTIONS= inet6 kqueue ldap mysql pam pgsql sasl sqlite
PKG_OPTIONS_OPTIONAL_GROUPS= ssl
PKG_OPTIONS_GROUP.ssl= gnutls ssl
PKG_SUGGESTED_OPTIONS= ssl
@@ -13,6 +13,8 @@ PKG_SUGGESTED_OPTIONS= ssl
###
.if !empty(PKG_OPTIONS:Mssl)
CONFIGURE_ARGS+= --with-ssl=openssl
+CONFIGURE_ENV+= SSL_CFLAGS="-I${BUILDLINK_PREFIX.openssl}/include"
+CONFIGURE_ENV+= SSL_LIBS="-lssl -lcrypto"
. include "../../security/openssl/buildlink3.mk"
.elif !empty(PKG_OPTIONS:Mgnutls)
CONFIGURE_ARGS+= --with-ssl=gnutls
@@ -72,3 +74,11 @@ CONFIGURE_ARGS+= --without-pam
CONFIGURE_ARGS+= --with-sqlite
. include "../../databases/sqlite3/buildlink3.mk"
.endif
+
+###
+### kqueue support.
+###
+.if !empty(PKG_OPTIONS:Mkqueue)
+CONFIGURE_ARGS+= --with-ioloop=kqueue
+CONFIGURE_ARGS+= --with-notify=kqueue
+.endif