aboutsummaryrefslogtreecommitdiff
path: root/mail/mutt-devel
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-07-18 19:09:24 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-07-18 19:09:24 +0000
commitb3649ea21c8a450303305f59b6d82c8c307bea43 (patch)
tree722866b08aad04abab29ab0833b394dd45f9f60a /mail/mutt-devel
parentb60430cbc8609f3df4b533984957d781ccff51c2 (diff)
downloadports-b3649ea21c8a450303305f59b6d82c8c307bea43.tar.gz
ports-b3649ea21c8a450303305f59b6d82c8c307bea43.zip
Revert to compiling agaist stock ncurses by default (requested by ache)
If "BATCH" is defined (ie. building packages for the CDROM, link agaist libslang. Also does the right thing if "USE_NCURSES_PORT" or "USE_SLANG" is defined. Note that resizing works better for me with Slang than with the ncurses 4.2 port. I'm using Slang over the ncurses port because the ncurses 4.2 port does NOT support the "xterm-color" terminal type. (and a big reason for linking with ncurses is for color support)
Notes
Notes: svn path=/head/; revision=11950
Diffstat (limited to 'mail/mutt-devel')
-rw-r--r--mail/mutt-devel/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 8915456342cf..08480bf54476 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -4,7 +4,7 @@
# Date created: Thur July 25, 1996
# Whom: David O'Brien (obrien@NUXI.com)
#
-# $Id: Makefile,v 1.44 1998/07/16 05:57:09 obrien Exp $
+# $Id: Makefile,v 1.45 1998/07/17 18:52:17 obrien Exp $
DISTNAME= mutt-0.93.1i
PKGNAME= mutt-0.93.1
@@ -25,9 +25,14 @@ PATCHFILES=
MAINTAINER= obrien@FreeBSD.org
-LIB_DEPENDS= ncurses\\.4\\.:${PORTSDIR}/devel/ncurses
.if defined(BATCH)
+LIB_DEPENDS= slang\\.1\\.:${PORTSDIR}/devel/libslang
+BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
+.elif defined(USE_NCURSES_PORT)
+LIB_DEPENDS= ncurses\\.4\\.:${PORTSDIR}/devel/ncurses
+.elif defined(USE_SLANG)
+LIB_DEPENDS= slang\\.1\\.:${PORTSDIR}/devel/libslang
.endif
DIST_SUBDIR= mutt
@@ -36,8 +41,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-dsn --enable-pop --enable-imap --enable-flock \
--disable-fcntl --enable-hidden-host \
--with-sharedir=${PREFIX}/share/misc \
- --with-docdir=${PREFIX}/share/doc/mutt \
- --with-curses=${PREFIX}
+ --with-docdir=${PREFIX}/share/doc/mutt
+.if defined(BATCH) || defined(USE_SLANG)
+CONFIGURE_ARGS+= --with-slang=${PREFIX}
+.elif defined(USE_NCURSES_PORT)
+CONFIGURE_ARGS+= --with-curses=${PREFIX}
+.endif
MAN1= mutt.1
post-patch: