summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2007-06-14 17:10:31 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2007-06-14 17:10:31 +0000
commit1aca7c370c93cba2b28dd9105009755cd9de42b6 (patch)
treeaac4092d203812130571203e4b408d85da6b7294 /news
parent- Fix mysql section (diff)
Use ncursesw when available
Notes
Notes: svn path=/head/; revision=193491
Diffstat (limited to 'news')
-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) || \