Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2007 21:14:46 +0400
From:      "Andrew Pantyukhin" <sat@FreeBSD.org>
To:        "Andrey A. Chernov" <ache@freebsd.org>, cvs-all@freebsd.org,  cvs-ports@freebsd.org, ports-committers@freebsd.org,  "Rong-En Fan" <rafan@freebsd.org>
Subject:   Re: cvs commit: ports/news/tin Makefile
Message-ID:  <cb5206420706141014s251d3a8bye4978301d1cfd6f3@mail.gmail.com>
In-Reply-To: <20070614171039.247C616A4E5@hub.freebsd.org>
References:  <200706141710.l5EHAWvp016198@repoman.freebsd.org> <20070614171039.247C616A4E5@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/14/07, Andrey A. Chernov <ache@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/cvs-all
> To unsubscribe, send any mail to "cvs-all-unsubscribe@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 :-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420706141014s251d3a8bye4978301d1cfd6f3>