From owner-cvs-ports@FreeBSD.ORG Thu Jun 14 21:42:58 2007 Return-Path: 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 5268616A473; Thu, 14 Jun 2007 21:42:58 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (svm.csie.ntu.edu.tw [140.112.90.75]) by mx1.freebsd.org (Postfix) with ESMTP id E0B1813C457; Thu, 14 Jun 2007 21:42:57 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (localhost [127.0.0.1]) by svm.csie.ntu.edu.tw (8.14.1/8.14.1) with ESMTP id l5ELguJS081813; Fri, 15 Jun 2007 05:42:56 +0800 (CST) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: (from rafan@localhost) by svm.csie.ntu.edu.tw (8.14.1/8.14.1/Submit) id l5ELguWF009513; Fri, 15 Jun 2007 05:42:56 +0800 (CST) (envelope-from rafan) Date: Fri, 15 Jun 2007 05:42:56 +0800 From: Rong-En Fan To: infofarmer@FreeBSD.org Message-ID: <20070614214256.GD29573@svm.csie.ntu.edu.tw> References: <200706141710.l5EHAWvp016198@repoman.freebsd.org> <20070614171039.247C616A4E5@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-06) Cc: cvs-ports@FreeBSD.org, "Andrey A. Chernov" , Rong-En Fan , cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/news/tin Makefile X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 21:42:58 -0000 On Thu, Jun 14, 2007 at 09:14:46PM +0400, Andrew Pantyukhin wrote: > 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. The only difference is ports' version put in include/ncurses, while the base's in include. > > I'm sure rafan will be happy to help you :-)