From owner-cvs-all@FreeBSD.ORG Thu Jun 14 17:14:47 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5DED616A41F for ; Thu, 14 Jun 2007 17:14:47 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 3269413C4B8 for ; Thu, 14 Jun 2007 17:14:47 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by wa-out-1112.google.com with SMTP id j37so799527waf for ; Thu, 14 Jun 2007 10:14:46 -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: Date: Thu, 14 Jun 2007 21:14:46 +0400 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Andrey A. Chernov" , cvs-all@freebsd.org, cvs-ports@freebsd.org, ports-committers@freebsd.org, "Rong-En Fan" 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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: infofarmer@FreeBSD.org List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 17:14:47 -0000 On 6/14/07, Andrey A. Chernov 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 > + > +.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 :-)