[Buildroot] [PATCH] gnupg: Package only needs ncurses with readline

Trent Piepho tpiepho at impinj.com
Wed Oct 3 00:25:19 UTC 2018


On Tue, 2018-10-02 at 08:38 +0300, Baruch Siach wrote:
> @@ -2,7 +2,7 @@ config BR2_PACKAGE_GNUPG
> >  	bool "gnupg"
> >  	depends on !BR2_PACKAGE_GNUPG2
> >  	select BR2_PACKAGE_ZLIB
> > -	select BR2_PACKAGE_NCURSES
> > +	select BR2_PACKAGE_NCURSES if BR2_PACKAGE_READLINE
> 
> BR2_PACKAGE_READLINE selects BR2_PACKAGE_NCURSES already, so this is not 
> needed.

Ok, I can take it out.  I thought since the gnupg configure script
directly references ncurses (when looking for readline), there should
be a direct dependency from gnupg to ncurses, rather than depending on
that dependency being there indirectly.  I.e., what if someone changes
readline's dependencies, would they consider the effect on gnupg?

But perhaps since it's part of readline support that is not necessary.


More information about the buildroot mailing list