Subject: Re: Using devel/readline for bash (was: CVS commit: pkgsrc/shells/bash)
To: None <tech-pkg@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: tech-pkg
Date: 07/02/2005 09:21:54
On Fri, Jul 01, 2005 at 05:46:58PM -0500, Min Sik Kim wrote:
> >Why do we need to add the dependency for devel/readline to other
> >systems
> >then Darwin?
>
> I think depending on another package is preferred in pkgsrc to using
> libraries shipped with distfile, unless the pkgsrc version is too
> old. In fact, shells/bash already has a dependency on devel/gettext-
> lib, even though it is shipped with its own gettext library.
Which is fine because it is also possible to use the library from the
base system.
> >With this change it is not longer possible to copy the binary on other
> >machine, which has no pkg's installed and use it there a standalone
> >version, which use shared libraries.
>
> In this case, I recommend building bash manually (configure; make)
> and copying the binary. You can still use pkgsrc to fetch the
> distfile and apply patches. Please let me know if you have more
> compelling reasons not to use devel/readline.
Yes, it just adds another external library to a program.
The needed libraries for a shell should be keept to a minimum.
Please make that an option to choose to use the bash internal library
and not to force to use other packages.
Bernd