Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2007 05:42:56 +0800
From:      Rong-En Fan <rafan@FreeBSD.org>
To:        infofarmer@FreeBSD.org
Cc:        cvs-ports@FreeBSD.org, "Andrey A. Chernov" <ache@FreeBSD.org>, Rong-En Fan <rafan@FreeBSD.org>, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/news/tin Makefile
Message-ID:  <20070614214256.GD29573@svm.csie.ntu.edu.tw>
In-Reply-To: <cb5206420706141014s251d3a8bye4978301d1cfd6f3@mail.gmail.com>
References:  <200706141710.l5EHAWvp016198@repoman.freebsd.org> <20070614171039.247C616A4E5@hub.freebsd.org> <cb5206420706141014s251d3a8bye4978301d1cfd6f3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 14, 2007 at 09:14:46PM +0400, Andrew Pantyukhin wrote:
>  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.

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



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