From 13c5a064e445b4e639257e7eaf4861211f23623c Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Fri, 21 Nov 2003 22:47:14 +0000 Subject: [PATCH] utilize USE_OPENLDAP --- mail/courier-imap/Makefile | 26 ++------------------------ mail/sylpheed/Makefile | 4 ++-- mail/sylpheed2-devel/Makefile | 4 ++-- mail/sylpheed2/Makefile | 4 ++-- mail/sylpheed3/Makefile | 4 ++-- 5 files changed, 10 insertions(+), 32 deletions(-) diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile index fdf498958e5a..e39a46a5383b 100644 --- a/mail/courier-imap/Makefile +++ b/mail/courier-imap/Makefile @@ -32,10 +32,7 @@ USE_GMAKE= yes # WITH_VPOPMAIL: Build in vpopmail support # WITH_MYSQL: Build in mysql support # WITH_POSTGRESQL: Build in postgresql support -# WITH_LDAP: Build in ldap support with openldap 2.1 -# WITH_LDAP21: Build in ldap support with openldap 2.1 -# WITH_LDAP20: Build in ldap support with openldap 2.0 -# WITH_LDAP1: Build in ldap support with openldap 1.x +# WITH_LDAP: Build in ldap support with openldap # WITH_FAM: Build in fam support for IDLE command # WITH_TRASHQUOTA: Include deleted mails in the quota # @@ -84,26 +81,7 @@ CONFIGURE_ARGS+=--with-trashquota .endif .if defined(WITH_LDAP) -WITH_LDAP21= yes -.endif - -.if !defined(WITH_LDAP1) && !defined(WITH_LDAP20) && !defined(WITH_LDAP21) -CONFIGURE_ARGS+=--without-authldap -PLIST_SUB+= LDAPFLAG="@comment " -.else -CONFIGURE_ARGS+=--with-authldap -PLIST_SUB+= LDAPFLAG="" - -.if defined(WITH_LDAP21) -LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap21-client \ - lber.2:${PORTSDIR}/net/openldap21-client -.elseif defined(WITH_LDAP20) -LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20-client \ - lber.2:${PORTSDIR}/net/openldap20-client -.else -LIB_DEPENDS= ldap.1:${PORTSDIR}/net/openldap12 \ - lber.1:${PORTSDIR}/net/openldap12 -.endif +USE_OPENLDAP= yes .endif .if !defined(WITH_MYSQL) diff --git a/mail/sylpheed/Makefile b/mail/sylpheed/Makefile index fc5ce39ed952..2c93f12e6298 100644 --- a/mail/sylpheed/Makefile +++ b/mail/sylpheed/Makefile @@ -68,10 +68,10 @@ LIB_DEPENDS+= pisock.8:${PORTSDIR}/palm/pilot-link RUN_DEPENDS+= jpilot:${PORTSDIR}/palm/jpilot CONFIGURE_ARGS+=--enable-jpilot .else -CONFIGURE_ARGS+= --disable-jpilot +CONFIGURE_ARGS+=--disable-jpilot .endif .if defined(WITH_LDAP) -LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client +USE_OPENLDAP= yes CONFIGURE_ARGS+=--enable-ldap .else CONFIGURE_ARGS+=--disable-ldap diff --git a/mail/sylpheed2-devel/Makefile b/mail/sylpheed2-devel/Makefile index fc5ce39ed952..2c93f12e6298 100644 --- a/mail/sylpheed2-devel/Makefile +++ b/mail/sylpheed2-devel/Makefile @@ -68,10 +68,10 @@ LIB_DEPENDS+= pisock.8:${PORTSDIR}/palm/pilot-link RUN_DEPENDS+= jpilot:${PORTSDIR}/palm/jpilot CONFIGURE_ARGS+=--enable-jpilot .else -CONFIGURE_ARGS+= --disable-jpilot +CONFIGURE_ARGS+=--disable-jpilot .endif .if defined(WITH_LDAP) -LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client +USE_OPENLDAP= yes CONFIGURE_ARGS+=--enable-ldap .else CONFIGURE_ARGS+=--disable-ldap diff --git a/mail/sylpheed2/Makefile b/mail/sylpheed2/Makefile index fc5ce39ed952..2c93f12e6298 100644 --- a/mail/sylpheed2/Makefile +++ b/mail/sylpheed2/Makefile @@ -68,10 +68,10 @@ LIB_DEPENDS+= pisock.8:${PORTSDIR}/palm/pilot-link RUN_DEPENDS+= jpilot:${PORTSDIR}/palm/jpilot CONFIGURE_ARGS+=--enable-jpilot .else -CONFIGURE_ARGS+= --disable-jpilot +CONFIGURE_ARGS+=--disable-jpilot .endif .if defined(WITH_LDAP) -LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client +USE_OPENLDAP= yes CONFIGURE_ARGS+=--enable-ldap .else CONFIGURE_ARGS+=--disable-ldap diff --git a/mail/sylpheed3/Makefile b/mail/sylpheed3/Makefile index fc5ce39ed952..2c93f12e6298 100644 --- a/mail/sylpheed3/Makefile +++ b/mail/sylpheed3/Makefile @@ -68,10 +68,10 @@ LIB_DEPENDS+= pisock.8:${PORTSDIR}/palm/pilot-link RUN_DEPENDS+= jpilot:${PORTSDIR}/palm/jpilot CONFIGURE_ARGS+=--enable-jpilot .else -CONFIGURE_ARGS+= --disable-jpilot +CONFIGURE_ARGS+=--disable-jpilot .endif .if defined(WITH_LDAP) -LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client +USE_OPENLDAP= yes CONFIGURE_ARGS+=--enable-ldap .else CONFIGURE_ARGS+=--disable-ldap