diff options
author | lioux <lioux@FreeBSD.org> | 2001-12-03 03:37:15 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-12-03 03:37:15 +0800 |
commit | 5202583d209132399591a235134f6f68ac932ea5 (patch) | |
tree | b5daff67b4003e583755bf3557cc9653ddec8fd1 /mail | |
parent | 33a0ae209d0c8acdf9a638d0f6f3303e6d866cf9 (diff) | |
download | freebsd-ports-graphics-5202583d209132399591a235134f6f68ac932ea5.tar.gz freebsd-ports-graphics-5202583d209132399591a235134f6f68ac932ea5.tar.zst freebsd-ports-graphics-5202583d209132399591a235134f6f68ac932ea5.zip |
Add WITH_MUTT_CYRUS_SASL knob to use IMAP with SASL
PR: 32341
Submitted by: maintainer
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mutt-devel/Makefile | 8 | ||||
-rw-r--r-- | mail/mutt-devel/files/patch-01 | 13 |
2 files changed, 19 insertions, 2 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile index 3f52f7fe01b..bbd567e2844 100644 --- a/mail/mutt-devel/Makefile +++ b/mail/mutt-devel/Makefile @@ -89,6 +89,9 @@ pre-configure:: ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-inews .endif .endif +.if defined(WITH_MUTT_CYRUS_SASL) +LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl +.endif .if defined(WITH_MUTT_LOCALES_FIX) CONFIGURE_ARGS+= --enable-locales-fix @@ -107,6 +110,11 @@ CONFIGURE_ARGS+= --enable-pop .if defined(WITH_MUTT_IMAP) CONFIGURE_ARGS+= --enable-imap .endif +.if defined(WITH_MUTT_CYRUS_SASL) +CONFIGURE_ARGS+= --enable-imap \ + --with-sasl=${LOCALBASE} +WITH_MUTT_IMAP= yes +.endif .if defined(WITH_MUTT_POP_IMAP) CONFIGURE_ARGS+= --enable-pop --enable-imap .endif diff --git a/mail/mutt-devel/files/patch-01 b/mail/mutt-devel/files/patch-01 index cd957c0bcc6..41f0f45b488 100644 --- a/mail/mutt-devel/files/patch-01 +++ b/mail/mutt-devel/files/patch-01 @@ -1,5 +1,14 @@ ---- configure.in.orig Tue Jul 24 23:27:40 2001 -+++ configure.in Wed Jul 25 07:51:00 2001 +--- configure.in.orig Thu Nov 8 23:39:59 2001 ++++ configure.in Mon Nov 26 20:29:39 2001 +@@ -569,7 +569,7 @@ + then + if test "$with_sasl" != "yes" + then +- CPPFLAGS="$CPPFLAGS -I$with_sasl/include" ++ CPPFLAGS="$CPPFLAGS -I$with_sasl/include/sasl" + LDFLAGS="$LDFLAGS -L$with_sasl/lib" + fi + @@ -674,7 +674,7 @@ mutt_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" |