diff options
author | anders <anders@FreeBSD.org> | 2002-05-04 21:31:07 +0800 |
---|---|---|
committer | anders <anders@FreeBSD.org> | 2002-05-04 21:31:07 +0800 |
commit | 838041c770dc53fde5c371130525fd6ad80b198b (patch) | |
tree | d03e0cdf50e6c9d2370c71bbe32910872f831561 /mail | |
parent | ed72cba6c138765446770d03ed073abd54edf76e (diff) | |
download | freebsd-ports-gnome-838041c770dc53fde5c371130525fd6ad80b198b.tar.gz freebsd-ports-gnome-838041c770dc53fde5c371130525fd6ad80b198b.tar.zst freebsd-ports-gnome-838041c770dc53fde5c371130525fd6ad80b198b.zip |
Use ncurses instead of slang by default, because of slang "out of a box"
issues.
PR: 37738
Submitted by: maintainer
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} |