From owner-cvs-ports@FreeBSD.ORG  Thu Jun 14 17:14:47 2007
Return-Path: <owner-cvs-ports@FreeBSD.ORG>
X-Original-To: cvs-ports@freebsd.org
Delivered-To: cvs-ports@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id E762316A46F
	for <cvs-ports@freebsd.org>; Thu, 14 Jun 2007 17:14:47 +0000 (UTC)
	(envelope-from infofarmer@gmail.com)
Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.226])
	by mx1.freebsd.org (Postfix) with ESMTP id 9314013C4BA
	for <cvs-ports@freebsd.org>; Thu, 14 Jun 2007 17:14:47 +0000 (UTC)
	(envelope-from infofarmer@gmail.com)
Received: by nz-out-0506.google.com with SMTP id 14so559220nzn
	for <cvs-ports@freebsd.org>; Thu, 14 Jun 2007 10:14:47 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=V2yVfOjLawMuTdu/O56s0SfsLrt41ufhRTJlu2dLhGiMpdCj9RToaHqzifn6caHIwpdMCPWIsUp0VR4G6Q0vnUVnPCaSLZkQjAIyrw8ieJ8h0Gkx65+3gC//R3SCZrcLbsGG8k+iMru6py0hOXH/r9vtdlDpJ38HTNXFWAFRdBw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=jjCw8PgGEiQTricyJVXz9paH0HAXv0AyxRlPeqlEXLSXcfSbKYNzYUQpjADUDQEKQTGMBMIZzMdhGs5g738Jm7HC5yb6k3T0sAsRpnRk49hc9OL2fGuR8qHp+syKEG9BlkhX2r+Lh6UW76f4+15BoJYugO2pm/d31/qlVFhVGeI=
Received: by 10.114.175.16 with SMTP id x16mr2098707wae.1181841286714;
	Thu, 14 Jun 2007 10:14:46 -0700 (PDT)
Received: by 10.114.194.13 with HTTP; Thu, 14 Jun 2007 10:14:46 -0700 (PDT)
Message-ID: <cb5206420706141014s251d3a8bye4978301d1cfd6f3@mail.gmail.com>
Date: Thu, 14 Jun 2007 21:14:46 +0400
From: "Andrew Pantyukhin" <sat@FreeBSD.org>
Sender: infofarmer@gmail.com
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>
In-Reply-To: <20070614171039.247C616A4E5@hub.freebsd.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <200706141710.l5EHAWvp016198@repoman.freebsd.org>
	<20070614171039.247C616A4E5@hub.freebsd.org>
X-Google-Sender-Auth: e5e4436cacbf45ec
Cc: 
Subject: Re: cvs commit: ports/news/tin Makefile
X-BeenThere: cvs-ports@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: infofarmer@FreeBSD.org
List-Id: CVS commit messages for the ports tree <cvs-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-ports>,
	<mailto:cvs-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-ports>
List-Post: <mailto:cvs-ports@freebsd.org>
List-Help: <mailto:cvs-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-ports>,
	<mailto:cvs-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Jun 2007 17:14:48 -0000

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 :-)