1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Use ncursesw when available

This commit is contained in:
Andrey A. Chernov 2007-06-14 17:10:31 +00:00
parent 075cae9cc1
commit 1aca7c370c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193491

View File

@ -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) || \