Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2005 13:19:47 +0200 (CEST)
From:      Udo Schweigert <udo.schweigert@siemens.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/88125: maintainer-update of mail/mutt-devel
Message-ID:  <200510281119.j9SBJlom088898@alaska.cert.siemens.com>
Resent-Message-ID: <200510281120.j9SBKHaR012608@freefall.freebsd.org>

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

>Number:         88125
>Category:       ports
>Synopsis:       maintainer-update of mail/mutt-devel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 28 11:20:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Udo Schweigert
>Release:        FreeBSD 6.0-RC1 i386
>Organization:
>Environment:

>Description:

Maintainer update of mail/mutt-devel:

	- Add support for libslang2 via a WITH_MUTT_SLANG2 knob.

>How-To-Repeat:
>Fix:

diff -ru  /usr/ports/mail/mutt-devel/Makefile ./Makefile
--- /usr/ports/mail/mutt-devel/Makefile	Tue Sep 20 06:07:15 2005
+++ ./Makefile	Fri Oct 28 13:16:28 2005
@@ -23,6 +23,8 @@
 # and SLANG (WITH_MUTT_SLANG) which is the default. Note that you may
 # have to set the variables COLORTERM=yes and COLORFGBG="color1;color2" in your
 # environment to get slang function properly.
+# The default version for slang is 1.x. Define WITH_MUTT_SLANG2 if you want
+# to use the slang version 2.x
 #
 # If you want to install the mutt documentation in html and ps format define:
 #  WITH_MUTT_HTML
@@ -237,12 +239,18 @@
 .endif
 .if defined(WITH_MUTT_SLANG)
 MUTT_USES_SLANG=	yes
+MUTT_USES_SLANG1=	yes
+.endif
+.if defined(WITH_MUTT_SLANG2)
+MUTT_USES_SLANG=	yes
+MUTT_USES_SLANG2=	yes
 .endif
 .if defined(WITH_MUTT_NCURSES) && !defined(MUTT_USES_SLANG)
 MUTT_USES_NCURSES=	yes
 .endif
 .if !defined(MUTT_USES_SLANG) && !defined(WITHOUT_MUTT_SLANG) && !defined(MUTT_USES_NCURSES)
 MUTT_USES_SLANG=	yes
+MUTT_USES_SLANG1=	yes
 .endif
 .if defined(WITHOUT_MUTT_SGMLFORMAT)
 XML_USED=	no
@@ -265,8 +273,10 @@
 .if defined(MUTT_USES_NCURSES) && ${OSVERSION} < 400000
 LIB_DEPENDS+=	ncurses.5:${PORTSDIR}/devel/ncurses
 CFLAGS+=	-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include
-.elif defined(MUTT_USES_SLANG)
+.elif defined(MUTT_USES_SLANG1)
 LIB_DEPENDS+=	slang.1:${PORTSDIR}/devel/libslang
+.elif defined(MUTT_USES_SLANG2)
+LIB_DEPENDS+=	slang.2:${PORTSDIR}/devel/libslang2
 .endif
 .if defined(WITH_MUTT_CYRUS_SASL2)
 LIB_DEPENDS+=	sasl2.2:${PORTSDIR}/security/cyrus-sasl2
>Release-Note:
>Audit-Trail:
>Unformatted:



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