From owner-freebsd-ports@FreeBSD.ORG Wed Jun 25 05:19:20 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4694C37B401 for ; Wed, 25 Jun 2003 05:19:20 -0700 (PDT) Received: from rohrpostix.tallence.de (rohrpostix.tallence.de [212.77.172.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7DF643FB1 for ; Wed, 25 Jun 2003 05:19:18 -0700 (PDT) (envelope-from stb@lassitu.de) Received: from devcli80.devlan.j2w (blue.tallence.de [212.77.172.82]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by rohrpostix.tallence.de (Postfix) with ESMTP id 206681AD9FB; Wed, 25 Jun 2003 14:19:13 +0200 (CEST) Date: Wed, 25 Jun 2003 14:19:11 +0200 From: Stefan Bethke To: Matthias Andree Message-ID: <2147483647.1056550751@[172.20.20.180]> In-Reply-To: References: X-Mailer: Mulberry/3.0.3 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline cc: freebsd-ports@freebsd.org Subject: Re: How do I require ncurses >= 5.3 in LIB_DEPENDS? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 12:19:20 -0000 On Mittwoch, 25. Juni 2003 13:08 Uhr +0200 Matthias Andree 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 , 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