On Tue, 10 Jul 2007 17:43:50 -0400
Brad <[EMAIL PROTECTED]> wrote:

> On Fri, 6 Jul 2007 00:20:31 -0400
> Brad <[EMAIL PROTECTED]> wrote:
> 
> > mutt having SMTP support is pretty cool. Having SASL support enabled
> > would make it usable for a lot more users.
> 
> Here is another revision of my diff, but with the SASL support being
> a FLAVOR.

Ok, the last revision of the Makefile was broken with a non FLAVORed
build. Please try this out.


Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/mutt/snapshot/Makefile,v
retrieving revision 1.42
diff -u -p -r1.42 Makefile
--- Makefile    21 Jun 2007 17:26:29 -0000      1.42
+++ Makefile    13 Jul 2007 01:28:56 -0000
@@ -4,9 +4,11 @@ COMMENT=       "tty-based e-mail client, devel
 
 VERSION=       1.5.16
 DISTNAME=      mutt-${VERSION}
+PKGNAME=       ${DISTNAME}p0
 MASTER_SITES=  ${MASTER_SITES_MUTT:=devel/}
 
-FLAVORS=       idn sidebar
+FLAVORS=       idn sasl sidebar
+FLAVOR?=
 
 AUTOCONF_VERSION=2.60
 
@@ -16,5 +18,10 @@ CONFIGURE_ARGS=      --enable-smtp \
                --without-gdbm
 
 LIB_DEPENDS=   qdbm.>=14::databases/qdbm
+
+.if ${FLAVOR:L:Msasl}
+CONFIGURE_ARGS+= --with-sasl=${LOCALBASE}
+LIB_DEPENDS+=  sasl2::security/cyrus-sasl2
+.endif
 
 .include <bsd.port.mk>
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/mail/mutt/snapshot/pkg/DESCR,v
retrieving revision 1.7
diff -u -p -r1.7 DESCR
--- pkg/DESCR   21 Jun 2007 17:26:29 -0000      1.7
+++ pkg/DESCR   10 Jul 2007 23:41:34 -0000
@@ -16,6 +16,7 @@ Other features include:
 - Maildir/IMAP/POP3 header caching support
 
 Flavors:
+       sasl       - build with SASL authentication support
        slang      - build using the S-Lang library for screen handling
        compressed - build with compressed folder support
                     (see: http://www.spinnaker.de/mutt/compressed/)

Reply via email to