I was missing the slang flavor when trying neomutt over mutt so here it
is.

--with-curses can be safely dropped as it's the default.

Feedback? Comments?

Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/neomutt/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile    14 Jul 2017 21:16:20 -0000      1.16
+++ Makefile    19 Jul 2017 12:56:14 -0000
@@ -23,7 +23,7 @@ LIB_DEPENDS+= devel/gettext \
 BUILD_DEPENDS+=        textproc/docbook-xsl \
                www/lynx
 
-FLAVORS=       gpgme sasl
+FLAVORS=       gpgme sasl slang
 FLAVOR?=
 
 FLAVOR_COMMA=  ${FLAVOR_EXT:S/-/,/g}
@@ -39,7 +39,6 @@ CONFIGURE_ARGS+= --disable-fcntl \
                --enable-flock \
                --disable-notmuch \
                --mandir=${PREFIX}/man \
-               --with-curses \
                --with-docdir="${PREFIX}/share/doc/neomutt" \
                --without-tokyocabinet \
                --without-gdbm \
@@ -64,6 +63,12 @@ WANTLIB+=    assuan gpg-error gpgme
 CONFIGURE_ARGS+= --with-sasl=${LOCALBASE}
 LIB_DEPENDS+=  security/cyrus-sasl2
 WANTLIB+=      sasl2
+.endif
+
+.if ${FLAVOR:Mslang}
+CONFIGURE_ARGS+= --with-slang="${PREFIX}"
+LIB_DEPENDS+=  devel/libslang
+WANTLIB+=      m termlib slang>=14
 .endif
 
 .include <bsd.port.arch.mk>

Reply via email to