cvs commit: ports/news/tin Makefile
Andrew Pantyukhin
sat at FreeBSD.org
Thu Jun 14 17:14:47 UTC 2007
On 6/14/07, Andrey A. Chernov <ache at freebsd.org> wrote:
> ache 2007-06-14 17:10:31 UTC
>
> FreeBSD ports repository
>
> Modified files:
> news/tin Makefile
> Log:
> Use ncursesw when available
>
> Revision Changes Path
> 1.141 +8 -3 ports/news/tin/Makefile
> _______________________________________________
> cvs-all at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/cvs-all
> To unsubscribe, send any mail to "cvs-all-unsubscribe at freebsd.org"
>
>
> Index: ports/news/tin/Makefile
> diff -u ports/news/tin/Makefile:1.140 ports/news/tin/Makefile:1.141
> --- ports/news/tin/Makefile:1.140 Thu Mar 1 07:57:35 2007
> +++ ports/news/tin/Makefile Thu Jun 14 17:10:31 2007
> @@ -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_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
700000-700033 don't support ncursesw. If you're
willing to do some extra work, use this:
.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033)
LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses
.endif
The problem is ncurses from ports place their
headers in a different place/manner than ncursesw
in base system.
I'm sure rafan will be happy to help you :-)
More information about the cvs-all
mailing list