Subject: Re: bash should depend on ncurses under Linux
To: Jeremy C. Reed <reed@reedmedia.net>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 10/23/2003 08:50:12
On Wed, Oct 22, 2003 at 02:36:36PM -0700, Jeremy C. Reed wrote:
> bash under Linux uses ncurses (instead of libtermcap).
>
> Is it okay if the bash2/Makefile adds:
>
> .if ${OPSYS} == "Linux"
> .include "../../devel/ncurses/buildlink2.mk"
> .endif
there must be a better way, and I would advise against doing this.
ncurses is a big, bloated beast which doesn't seem appropriate for a
shell to depend on.
> Does anyone have a bash built from pkgsrc under Linux that doesn't use
> ncurses?
# ldd /usr/pkg/bin/bash
libtermcap.so.2 => /lib/libtermcap.so.2 (0x4001a000)
libdl.so.2 => /lib/libdl.so.2 (0x4001f000)
libc.so.6 => /lib/libc.so.6 (0x40022000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
grant.