summaryrefslogtreecommitdiff
path: root/mail/dovecot
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-08-29 13:14:43 +0000
committertv <tv@pkgsrc.org>2005-08-29 13:14:43 +0000
commit53effaddc6a65383650af9027be0afb43d7b008b (patch)
tree77406e8140bdc207719dcc956aaf8005a4ca863a /mail/dovecot
parentb887d1df527d77d88c2ba89e7806f2bd02b2dcfd (diff)
downloadpkgsrc-53effaddc6a65383650af9027be0afb43d7b008b.tar.gz
Make this not fail if gnutls is specified; rather, just fall back to
openssl (or no ssl) anyway.
Diffstat (limited to 'mail/dovecot')
-rw-r--r--mail/dovecot/options.mk17
1 files changed, 9 insertions, 8 deletions
diff --git a/mail/dovecot/options.mk b/mail/dovecot/options.mk
index 086866785d7..c95275071cc 100644
--- a/mail/dovecot/options.mk
+++ b/mail/dovecot/options.mk
@@ -1,19 +1,20 @@
-# $NetBSD: options.mk,v 1.7 2005/08/19 04:57:01 grant Exp $
+# $NetBSD: options.mk,v 1.8 2005/08/29 13:14:43 tv Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dovecot
-PKG_SUPPORTED_OPTIONS= gnutls inet6 ldap mysql pgsql sasl pam
+PKG_SUPPORTED_OPTIONS= gnutls inet6 ldap mysql pam pgsql sasl ssl
+PKG_SUGGESTED_OPTIONS= ssl
+
.include "../../mk/bsd.options.mk"
###
-### Build with GNU TLS or OpenSSL as the underlying crypto library.
+### Build with OpenSSL as the underlying crypto library.
###
-.if !empty(PKG_OPTIONS:Mgnutls)
-PKG_FAIL_REASON+= "GNU TLS support is currently broken."
-CONFIGURE_ARGS+= --enable-ssl=gnutls
-. include "../../security/gnutls/buildlink3.mk"
-.else
+# (gnutls is broken in dovecot 0.99.x)
+.if !empty(PKG_OPTIONS:Mssl)
CONFIGURE_ARGS+= --enable-ssl=openssl
. include "../../security/openssl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-ssl
.endif
###