summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorelric <elric>2002-10-28 21:09:18 +0000
committerelric <elric>2002-10-28 21:09:18 +0000
commitcb10d1248806bff045e654c2b0f04a4d911d3617 (patch)
tree4996b2db07d657d29997da96df88e57f9c8bfe5e /mail
parent7381c58b48f6988ea4e9e303d2e521f18e9744f6 (diff)
downloadpkgsrc-cb10d1248806bff045e654c2b0f04a4d911d3617.tar.gz
add [optional] SASL support.
Diffstat (limited to 'mail')
-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