How do I require ncurses >= 5.3 in LIB_DEPENDS?
Stefan Bethke
stb at lassitu.de
Wed Jun 25 05:19:20 PDT 2003
On Mittwoch, 25. Juni 2003 13:08 Uhr +0200 Matthias Andree
<ma at 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
More information about the freebsd-ports
mailing list