From b3649ea21c8a450303305f59b6d82c8c307bea43 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sat, 18 Jul 1998 19:09:24 +0000 Subject: 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) --- mail/mutt-devel/Makefile | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'mail/mutt-devel') 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: -- cgit v1.2.3