summaryrefslogtreecommitdiff
path: root/mail/mutt
diff options
context:
space:
mode:
authorelric <elric@pkgsrc.org>2002-10-28 21:09:18 +0000
committerelric <elric@pkgsrc.org>2002-10-28 21:09:18 +0000
commitb63137339608bd2ccad5e8f32047086d69ed1ec6 (patch)
tree4996b2db07d657d29997da96df88e57f9c8bfe5e /mail/mutt
parentb7de1f41c9a4bce227236d2f23db72f1d64a967a (diff)
downloadpkgsrc-b63137339608bd2ccad5e8f32047086d69ed1ec6.tar.gz
add [optional] SASL support.
Diffstat (limited to 'mail/mutt')
-rw-r--r--mail/mutt/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 56d37c5d784..3b0b42b3a24 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.85 2002/09/10 16:06:44 wiz Exp $
+# $NetBSD: Makefile,v 1.86 2002/10/28 21:09:18 elric Exp $
DISTNAME= mutt-1.4i
PKGNAME= ${DISTNAME:C/i$//}
@@ -52,7 +52,12 @@ CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
CONFIGURE_ARGS+= --without-ssl
.endif
-BUILD_DEFS+= MUTT_USE_NCURSES MUTT_USE_SLANG MUTT_USE_SSL
+.if defined(USE_SASL) && ${USE_SASL} == "YES"
+.include "../../security/cyrus-sasl/buildlink2.mk"
+CONFIGURE_ARGS+= --with-sasl=${BUILDLINK_PREFIX.cyrus-sasl}
+.endif
+
+BUILD_DEFS+= MUTT_USE_NCURSES MUTT_USE_SLANG MUTT_USE_SSL USE_SASL
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
EGDIR= ${PREFIX}/share/doc/mutt/samples