Subject: Re: USE_NCURSES? [was: Re: CVS commit: pkgsrc]
To: Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>
From: Simon Burge <simonb@netbsd.org>
List: tech-pkg
Date: 10/22/1999 22:24:58
Hubert Feyrer wrote:
> On Thu, 21 Oct 1999, Alistair G. Crooks wrote:
> > Log Message:
> > Only have a pre-requisite of ncurses on NetBSD.
> >
> >
> > To generate a diff of this commit:
> > cvs rdiff -r1.11 -r1.12 pkgsrc/misc/siag/Makefile
>
> Hi,
>
> i think you can add this for about any package that wants ncurses.
> Should we add some USE_NCURSES switch that hides these bits in bsd.pkg.mk?
>
> .if defined(USE_NCURSES)
> .if ${OPSYS} == "NetBSD"
> DEPENDS+= ncurses-4.2:../../devel/ncurses
> .endif # NetBSD
> .endif # USE_NCURSES
Maybe USE_SVID_CURSES would be a better choice. Both ncurses and SysV
curses comply with the SVID standard for curses, and we (NetBSD) have
people aiming to take our curses to the standard as well. Just calling
the option USE_NCURSES seems a bit restrictive...
Simon.