diff options
author | adam <adam> | 2007-12-22 21:15:05 +0000 |
---|---|---|
committer | adam <adam> | 2007-12-22 21:15:05 +0000 |
commit | d9779b2dd060d24c83e5df103ba50d50e3538334 (patch) | |
tree | 9f288aa14bec181a62ad9358157682d9d1deb2df /mail/cyrus-imapd | |
parent | ace64cb950903fdd940a4ae9821deda9e76b0b65 (diff) | |
download | pkgsrc-d9779b2dd060d24c83e5df103ba50d50e3538334.tar.gz |
Added 'ldap' option
Diffstat (limited to 'mail/cyrus-imapd')
-rw-r--r-- | mail/cyrus-imapd/Makefile | 12 | ||||
-rw-r--r-- | mail/cyrus-imapd/PLIST | 5 |
2 files changed, 14 insertions, 3 deletions
diff --git a/mail/cyrus-imapd/Makefile b/mail/cyrus-imapd/Makefile index 6d0db1edea6..a8cc72c6304 100644 --- a/mail/cyrus-imapd/Makefile +++ b/mail/cyrus-imapd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.73 2007/11/21 05:27:49 obache Exp $ +# $NetBSD: Makefile,v 1.74 2007/12/22 21:15:05 adam Exp $ DISTNAME= cyrus-imapd-2.2.13 PKGREVISION= 4 @@ -47,7 +47,7 @@ CONFIGURE_ARGS+= --without-zephyr CONFIGURE_ARGS+= --without-ucdsnmp PKG_OPTIONS_VAR= PKG_OPTIONS.cyrus-imapd -PKG_SUPPORTED_OPTIONS= gssapi kerberos kerberos4 +PKG_SUPPORTED_OPTIONS= gssapi kerberos kerberos4 ldap .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mkerberos) @@ -74,6 +74,14 @@ CONFIGURE_ARGS+= --without-krb CONFIGURE_ARGS+= --disable-gssapi .endif +.if !empty(PKG_OPTIONS:Mldap) +CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap-client} +. include "../../databases/openldap-client/buildlink3.mk" +PLIST_SUBST+= LDAP= +.else +PLIST_SUBST+= LDAP="@comment " +.endif + .if exists(/usr/bin/compile_et) COMERRBASE?= /usr .endif diff --git a/mail/cyrus-imapd/PLIST b/mail/cyrus-imapd/PLIST index d362c65769c..a78cb7e0748 100644 --- a/mail/cyrus-imapd/PLIST +++ b/mail/cyrus-imapd/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.9 2006/10/04 12:18:14 obache Exp $ +@comment $NetBSD: PLIST,v 1.10 2007/12/22 21:15:06 adam Exp $ bin/imtest bin/installsieve bin/lmtptest @@ -36,6 +36,9 @@ cyrus/bin/notifyd cyrus/bin/pop3d cyrus/bin/pop3proxyd cyrus/bin/proxyd +${LDAP}cyrus/bin/ptdump +${LDAP}cyrus/bin/ptexpire +${LDAP}cyrus/bin/ptloader cyrus/bin/quota cyrus/bin/reconstruct cyrus/bin/rehash |