Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 May 2002 15:04:24 +0200 (CEST)
From:      Udo Schweigert <udo.schweigert@siemens.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Luigi Rizzo <rizzo@icir.org>
Subject:   ports/37738: maintainer-update of mail/mutt-devel
Message-ID:  <200205041304.g44D4OvC072819@alaska.cert.siemens.de>

next in thread | raw e-mail | index | archive | help

>Number:         37738
>Category:       ports
>Synopsis:       maintainer-update of mail/mutt-devel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 04 06:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Udo Schweigert
>Release:        FreeBSD 4.6-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD alaska.cert.siemens.de 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #79: Thu May 2 16:58:13 CEST 2002 ust@alaska.cert.siemens.de:/usr/obj/work/src/RELENG_4/sys/alaska i386


>Description:

Update of mail/mutt-devel:

	- Switch default to WITH_MUTT_NCURSES since WITH_MUTT_SLANG does not
	  work always out of the box.

The PR ports/37725 can be closed when this is committed.

>How-To-Repeat:
>Fix:

diff -ru /usr/ports/mail/mutt-devel/Makefile mutt-devel/Makefile
--- /usr/ports/mail/mutt-devel/Makefile	Fri May  3 15:50:02 2002
+++ mutt-devel/Makefile	Sat May  4 14:41:50 2002
@@ -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 @@
 
 .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 @@
 .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 @@
 .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}

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205041304.g44D4OvC072819>