aboutsummaryrefslogtreecommitdiffstats
path: root/news/tin
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2007-06-15 01:10:31 +0800
committerache <ache@FreeBSD.org>2007-06-15 01:10:31 +0800
commit27828849e68f03b7144f610fbe0a478637ae3730 (patch)
tree131ed18b547916f0a851b439cf328f9ed106bd2d /news/tin
parentfced8f6245eedadba001697f77205a4ab5e44de6 (diff)
downloadfreebsd-ports-gnome-27828849e68f03b7144f610fbe0a478637ae3730.tar.gz
freebsd-ports-gnome-27828849e68f03b7144f610fbe0a478637ae3730.tar.zst
freebsd-ports-gnome-27828849e68f03b7144f610fbe0a478637ae3730.zip
Use ncursesw when available
Diffstat (limited to 'news/tin')
-rw-r--r--news/tin/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/news/tin/Makefile b/news/tin/Makefile
index 8124abe0ddd4..c797babd9d15 100644
--- a/news/tin/Makefile
+++ b/news/tin/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tin
PORTVERSION= 1.8.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES+= news ipv6
MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/ \
ftp://ftp.sunet.se/pub/news/readers/tin/stable/ \
@@ -35,7 +35,14 @@ USE_GMAKE= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
WITH_TIN_EDITOR?= /usr/bin/ee
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 602107
+WITH_TIN_SCREEN?= ncursesw
+.else
WITH_TIN_SCREEN?= ncurses
+.endif
# --with-mime-default-charset=US-ASCII needed to build tin in the non-ascii
# national environment.
@@ -63,8 +70,6 @@ MLINKS= tin.1 rtin.1
CONFIGURE_ARGS+= --enable-nntp-only
.endif
-.include <bsd.port.pre.mk>
-
.if defined(WITHOUT_TIN_PGP_GPG)
CONFIGURE_ARGS+= --disable-pgp-gpg
.elif defined(WITH_TIN_GPG) || \