diff options
author | wiz <wiz> | 2000-06-08 12:57:18 +0000 |
---|---|---|
committer | wiz <wiz> | 2000-06-08 12:57:18 +0000 |
commit | 9be1b2f54a91b763005b9727c72d93883c882562 (patch) | |
tree | 03d619d8f990001bea75398cf169eb58d44464fd /mail/mutt | |
parent | 943f7b1ab49dc916f671ae2164896c2da91365eb (diff) | |
download | pkgsrc-9be1b2f54a91b763005b9727c72d93883c882562.tar.gz |
Use NetBSD's curses on 1.4Y+ instead of ncurses
Diffstat (limited to 'mail/mutt')
-rw-r--r-- | mail/mutt/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile index 777c40fd173..d42ece84c2e 100644 --- a/mail/mutt/Makefile +++ b/mail/mutt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.46 2000/05/20 18:39:45 kim Exp $ +# $NetBSD: Makefile,v 1.47 2000/06/08 12:57:18 wiz Exp $ DISTNAME= mutt-1.2i CATEGORIES= mail @@ -18,7 +18,7 @@ RESTRICTED= "Contains PGP and SSL code" GNU_CONFIGURE= yes USE_GMAKE= yes -CONFIGURE_ARGS+= --with-curses=${LOCALBASE} --with-exec-shell=/bin/ksh \ +CONFIGURE_ARGS+= --with-exec-shell=/bin/ksh \ --with-docdir=${PREFIX}/share/doc/mutt \ --enable-pop --enable-imap @@ -46,7 +46,19 @@ PLIST_SUBST+= LOCALEBASE=share .endif .if ${OPSYS} == "NetBSD" +OSVER!= uname -r +GOOD_CURSES= 1.4[Y-Z] 1.4Z[A-Z] 1.[5-9]* + +.for PATTERN in ${GOOD_CURSES} +.if ${OSVER:M${PATTERN}} != "" +CURSES_GOOD?= # defined +.endif +.endfor + +.if !defined(CURSES_GOOD) DEPENDS+= ncurses>=4.2:../../devel/ncurses +CONFIGURE_ARGS+= --with-curses=${LOCALBASE} +.endif .endif .include "../../mk/bsd.pkg.mk" |