Subject: Re: Using devel/readline for bash (was: CVS commit: pkgsrc/shells/bash)
To: None <tech-pkg@NetBSD.org>
From: Min Sik Kim <minskim@NetBSD.org>
List: tech-pkg
Date: 07/01/2005 17:46:58
On Jul 1, 2005, at 3:01 PM, Bernd Ernesti wrote:
> Hi,
>
> On Fri, Jul 01, 2005 at 04:14:39PM +0000, Min Sik Kim wrote:
>
>>
>> Module Name: pkgsrc
>> Committed By: minskim
>> Date: Fri Jul 1 16:14:39 UTC 2005
>>
>> Modified Files:
>> pkgsrc/shells/bash: Makefile
>>
>> Log Message:
>> Use devel/readline instead of the included readline library. Bump
>> PKGREVISION due to the added dependency. This should fix PR pkg/
>> 30601.
>>
>
> 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.
> 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.
Regards,
Min Sik Kim