summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/dovecot2/PLIST4
-rw-r--r--mail/dovecot2/options.mk4
2 files changed, 5 insertions, 3 deletions
diff --git a/mail/dovecot2/PLIST b/mail/dovecot2/PLIST
index 5fda0008361..f5ef36ef5cb 100644
--- a/mail/dovecot2/PLIST
+++ b/mail/dovecot2/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.26 2013/08/15 09:42:41 adam Exp $
+@comment $NetBSD: PLIST,v 1.27 2013/09/16 18:40:24 adam Exp $
bin/doveadm
bin/doveconf
bin/dsync
@@ -450,7 +450,7 @@ lib/dovecot/libdovecot-login.la
lib/dovecot/libdovecot-sql.la
lib/dovecot/libdovecot-storage.la
lib/dovecot/libdovecot.la
-lib/dovecot/libssl_iostream_openssl.la
+${PLIST.ssl}lib/dovecot/libssl_iostream_openssl.la
libexec/dovecot/aggregator
libexec/dovecot/anvil
libexec/dovecot/auth
diff --git a/mail/dovecot2/options.mk b/mail/dovecot2/options.mk
index 7fdbf1442c0..7d99ad5e4e6 100644
--- a/mail/dovecot2/options.mk
+++ b/mail/dovecot2/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2011/06/14 09:37:18 tron Exp $
+# $NetBSD: options.mk,v 1.5 2013/09/16 18:40:24 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dovecot
PKG_SUPPORTED_OPTIONS= gssapi kqueue ldap mysql pam pgsql sqlite
@@ -9,6 +9,7 @@ PKG_SUGGESTED_OPTIONS= pam ssl
.if defined(PKG_HAVE_KQUEUE)
PKG_SUGGESTED_OPTIONS+= kqueue
.endif
+PLIST_VARS+= ssl
.include "../../mk/bsd.options.mk"
@@ -21,6 +22,7 @@ CONFIGURE_ENV+= SSL_CFLAGS="-I${BUILDLINK_PREFIX.openssl}/include"
CONFIGURE_ENV+= SSL_LIBS="-lssl -lcrypto"
BUILDLINK_API_DEPENDS.openssl+=openssl>=0.9.8a
. include "../../security/openssl/buildlink3.mk"
+PLIST.ssl= yes
.elif !empty(PKG_OPTIONS:Mgnutls)
CONFIGURE_ARGS+= --with-ssl=gnutls
. include "../../security/gnutls/buildlink3.mk"