diff options
author | Anders Nordby <anders@FreeBSD.org> | 2002-05-04 13:31:07 +0000 |
---|---|---|
committer | Anders Nordby <anders@FreeBSD.org> | 2002-05-04 13:31:07 +0000 |
commit | 614bb476b13c51f07dd46b8ce8913def7ec6450a (patch) | |
tree | 80a152b5800b42658eb62669357ddd7a756922ef /mail | |
parent | Updated list of RBL sites. Some obsolete and some new. (diff) |
Use ncurses instead of slang by default, because of slang "out of a box"
issues.
PR: 37738
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=58525
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mutt-devel/Makefile | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile index 4328118cdd68..8ed6236a46c9 100644 --- a/mail/mutt-devel/Makefile +++ b/mail/mutt-devel/Makefile @@ -19,9 +19,10 @@ # # The two most important knobs are: # -# In general you can choose between using the SLANG port (which is really -# recommended and is now the default) and ncurses (WITH_MUTT_NCURSES). If you -# don't want to use SLANG define WITHOUT_MUTT_SLANG. +# In general you can choose between using the SLANG port (WITH_MUTT_SLANG) +# and ncurses (WITH_MUTT_NCURSES) which is the default. Note that you may +# have to set the variables COLORTERM=yes and COLORFGBG=color,color in your +# environment to get slang function properly. # # If you want to install the mutt documentation in html format define: # WITH_MUTT_HTML @@ -51,7 +52,7 @@ PORTNAME= mutt-devel PORTVERSION= 1.3.99 -#PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES+= mail .if defined(WITH_MUTT_NNTP) CATEGORIES+= news @@ -103,25 +104,25 @@ PATCH_VERSION= ${PORTVERSION} .if defined(PACKAGE_BUILDING) WITH_MUTT_SSL= yes -WITH_MUTT_SLANG= yes +WITH_MUTT_NCURSES= yes WITH_MUTT_HTML= yes BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell \ urlview:${PORTSDIR}/textproc/urlview .endif -.if defined(WITH_MUTT_SLANG) -USE_SLANG= yes -.endif .if defined(WITH_MUTT_NCURSES_PORT) WITH_MUTT_NCURSES= yes .endif -.if defined(WITH_MUTT_NCURSES) && !defined(USE_SLANG) +.if defined(WITH_MUTT_NCURSES) USE_NCURSES= yes .endif -.if !defined(USE_SLANG) && !defined(WITHOUT_MUTT_SLANG) && !defined(USE_NCURSES) +.if defined(WITH_MUTT_SLANG) && !defined(USE_NCURSES) USE_SLANG= yes .endif +.if !defined(USE_NCURSES) && !defined(WITHOUT_MUTT_NCURSES) && !defined(USE_SLANG) +USE_NCURSES= yes +.endif .if defined(WITHOUT_MUTT_SGMLFORMAT) SGML_USED= no .endif @@ -134,11 +135,11 @@ LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext .if defined(NOPORTDOCS) SGML_USED= no .endif -.if defined(USE_SLANG) -LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang -.elif defined(USE_NCURSES) && ${OSVERSION} < 400000 +.if defined(USE_NCURSES) && ${OSVERSION} < 400000 LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses CFLAGS+= -I${PREFIX}/include/ncurses -I${PREFIX}/include +.elif defined(USE_SLANG) +LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang .endif .if defined(WITH_MUTT_SSL) USE_OPENSSL= yes @@ -157,10 +158,10 @@ pre-configure:: .if defined(WITH_MUTT_LOCALES_FIX) CONFIGURE_ARGS+= --enable-locales-fix .endif -.if defined(USE_SLANG) -CONFIGURE_ARGS+= --with-slang=${PREFIX} -.elif defined(USE_NCURSES) && ${OSVERSION} < 400000 +.if defined(USE_NCURSES) && ${OSVERSION} < 400000 CONFIGURE_ARGS+= --with-curses=${PREFIX} +.elif defined(USE_SLANG) +CONFIGURE_ARGS+= --with-slang=${PREFIX} .endif .if defined(WITH_MUTT_SSL) CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} |