diff options
author | adam <adam> | 2013-09-16 18:40:24 +0000 |
---|---|---|
committer | adam <adam> | 2013-09-16 18:40:24 +0000 |
commit | 658b991f5cdb807e8aad6d2e1351521debf3ee80 (patch) | |
tree | 8e69321d97eb8056c49d434a2adaaa8edbfe7f01 /mail/dovecot2 | |
parent | ca42905481cd56308a7a6f3895eecc2587f521a5 (diff) | |
download | pkgsrc-658b991f5cdb807e8aad6d2e1351521debf3ee80.tar.gz |
Fix PLIST when ssl option has been turned off; Thanks to Daniel Horecki.
Diffstat (limited to 'mail/dovecot2')
-rw-r--r-- | mail/dovecot2/PLIST | 4 | ||||
-rw-r--r-- | mail/dovecot2/options.mk | 4 |
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" |