aboutsummaryrefslogtreecommitdiff
path: root/mail/mutt-devel
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-10-28 13:00:07 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-10-28 13:00:07 +0000
commite287cabf0418368126b0935dc0b3ca8e2a1f3ab9 (patch)
tree6daadd26e9fde07069a95636eae1774b4d25d96c /mail/mutt-devel
parent17504b9f6cd45e992e8409630c690647345f62c2 (diff)
downloadports-e287cabf0418368126b0935dc0b3ca8e2a1f3ab9.tar.gz
ports-e287cabf0418368126b0935dc0b3ca8e2a1f3ab9.zip
- Add an option to use libslang2
PR: ports/88125 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=146577
Diffstat (limited to 'mail/mutt-devel')
-rw-r--r--mail/mutt-devel/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 7820b1219b2d..f106b3c77c95 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -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 @@ WITH_MUTT_NCURSES= yes
.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 @@ XML_USED= no
.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