Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2003 14:19:11 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        Matthias Andree <ma@dt.e-technik.uni-dortmund.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: How do I require ncurses >= 5.3 in LIB_DEPENDS?
Message-ID:  <2147483647.1056550751@[172.20.20.180]>
In-Reply-To: <m3n0g6l8ip.fsf@merlin.emma.line.org>
References:  <m3n0g6l8ip.fsf@merlin.emma.line.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mittwoch, 25. Juni 2003 13:08 Uhr +0200 Matthias Andree 
<ma@dt.e-technik.uni-dortmund.de> wrote:

> I'm trying to make a port of the "cone" mail user agent (that supports
> IMAP, SMAP, POP3, local Maildir, ..., gpg, spell checks) by Sam
> Varshavchik.
>
> My problem: How do I require ncurses >= 5.3 in LIB_DEPENDS?
>
> Apparently FreeBSD 5's libncurses is current enough, but FreeBSD 4's
> libnurses isn't up-to-date and some of the wide-character functions are
> missing. How do I:
>
> 1. require the libncurses port in FreeBSD 4?

I'm not sure you can with the standard tools; you might need to add your 
own logic to check for the installed version.

> 2. figure what is the oldest $OS_VERSION that shipped ncurses 5.3?

The commit logs for contrib show this as the latest import:

> peter       2002/06/20 12:42:53 PDT
>
>   src/contrib/ncurses - Imported sources
>   Update of /home/ncvs/src/contrib/ncurses
>   In directory freefall.freebsd.org:/d/home/peter/nc/ncurses-5.2
>
>   Log Message:
>   Import ncurses 5.2-20020615 to fix a first-column display bug.

So it would appear that even the most recent FreeBSD version is not 5.3.

Looking at 
<http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/ncurses/dist.mk>, you 
can see that 5.2-20020615 is part of RELENG_5_0_0_RELEASE and newer; 
RELENG_4_2_0_RELEASE up to 4_8_0 have ncurses ncurses 5.1-20001009.


HTH,
Stefan

-- 
Stefan Bethke, Phone +49 170 346 0140



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