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.


Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/mutt/Makefile,v
retrieving revision 1.53
diff -u -p -r1.53 Makefile
--- Makefile    24 Jun 2007 16:01:21 -0000      1.53
+++ Makefile    10 Jul 2007 19:06:14 -0000
@@ -4,6 +4,9 @@
      SUBDIR += stable,compressed
      SUBDIR += snapshot
      SUBDIR += snapshot,compressed
+     SUBDIR += snapshot,compressed,sasl
+     SUBDIR += snapshot,sasl
      SUBDIR += snapshot,sidebar
+     SUBDIR += snapshot,sasl,sidebar
 
 .include <bsd.port.subdir.mk>
Index: snapshot/Makefile
===================================================================
RCS file: /cvs/ports/mail/mutt/snapshot/Makefile,v
retrieving revision 1.42
diff -u -p -r1.42 Makefile
--- snapshot/Makefile   21 Jun 2007 17:26:29 -0000      1.42
+++ snapshot/Makefile   10 Jul 2007 19:04:35 -0000
@@ -4,9 +4,10 @@ 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
 
 AUTOCONF_VERSION=2.60
 
@@ -18,3 +19,8 @@ CONFIGURE_ARGS=       --enable-smtp \
 LIB_DEPENDS=   qdbm.>=14::databases/qdbm
 
 .include <bsd.port.mk>
+
+.if ${FLAVOR:L:Msasl}
+CONFIGURE_ARGS+= --with-sasl=${LOCALBASE}
+LIB_DEPENDS+=  sasl2::security/cyrus-sasl2
+.endif
Index: snapshot/pkg/DESCR
===================================================================
RCS file: /cvs/ports/mail/mutt/snapshot/pkg/DESCR,v
retrieving revision 1.7
diff -u -p -r1.7 DESCR
--- snapshot/pkg/DESCR  21 Jun 2007 17:26:29 -0000      1.7
+++ snapshot/pkg/DESCR  10 Jul 2007 19:01:41 -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