Subject: Re: packages using ncurses
To: Jeremy C. Reed <reed@reedmedia.net>
From: Johnny C. Lam <jlam@netbsd.org>
List: tech-pkg
Date: 02/21/2003 03:14:30
On Fri, Feb 21, 2003 at 09:41:31AM +0100, Thomas Klausner wrote:
>
> A test for the existence of /usr/include/{n,}curses.h and the associated
> library might be a good addition. We still might want to mark
> particular operating systems as USE_NCURSES (see above).
That is certainly possible, and could be done using
gettext-lib/buildlink2.mk as an example, but it's definitely complex.
> > But it still doesn't fix my initial problem.
> >
> > Many packages are built using some type of curses, but don't even use that
> > ncurses/buildlink2.mk (so nothing is ever registered as DEPENDS).
>
> These packages should just add the ncurses/buildlink2.mk, that's all that's
> needed. After it is fixed, of course :)
I disagree. I don't want to go around adding ncurses/buildlink2.mk to
Makefiles of packages that just need curses, because those packages simply
don't need ncurses, and it's misleading.
Cheers,
-- Johnny Lam <jlam@netbsd.org>