From 6dd57a255c2d2d10db64b6cf43a4bcc3fdc259b9 Mon Sep 17 00:00:00 2001 From: Alexander Nedotsukov Date: Fri, 29 Aug 2003 03:30:42 +0000 Subject: [PATCH] - Remove gdbm dependency wich is not required anymore. - Remove leftout USE_REINPLACE. - Make LDAP support optional. - Remove ispell build and run dependency in favour of aspell only. Anyway if ispell installed it will be picked up by basa binary. Approved by: marcus (mentor) --- mail/balsa2/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/mail/balsa2/Makefile b/mail/balsa2/Makefile index 585d635e50af..2ee416a1b1ee 100644 --- a/mail/balsa2/Makefile +++ b/mail/balsa2/Makefile @@ -15,26 +15,20 @@ DISTNAME= balsa-${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= A mail reader for the GNOME 2 desktop -BUILD_DEPENDS= ${LOCALBASE}/bin/ispell:${PORTSDIR}/textproc/ispell LIB_DEPENDS= aspell.15:${PORTSDIR}/textproc/aspell \ pcre.0:${PORTSDIR}/devel/pcre \ esmtp.6:${PORTSDIR}/mail/libesmtp \ - gdbm.3:${PORTSDIR}/databases/gdbm \ ltdl.4:${PORTSDIR}/devel/libltdl -RUN_DEPENDS= ${LOCALBASE}/bin/ispell:${PORTSDIR}/textproc/ispell USE_BZIP2= yes USE_X_PREFIX= yes USE_PERL5= yes -USE_REINPLACE= yes USE_OPENSSL= yes USE_GNOME= gnomeprefix gnomehack libgnomeui libgnomeprintui libgtkhtml -USE_OPENLDAP= yes GNU_CONFIGURE= yes USE_LIBTOOL= yes CONFIGURE_ARGS= --enable-threads \ --enable-gtkhtml \ - --with-ldap \ --disable-more-warnings \ --with-ssl CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ @@ -47,4 +41,9 @@ LIB_DEPENDS+= gpgme.9:${PORTSDIR}/security/gpgme CONFIGURE_ARGS+= --enable-gpgme .endif +.if !defined(WITHOUT_LDAP) +USE_OPENLDAP= yes +CONFIGURE_ARGS+= --with-ldap +.endif + .include