[Buildroot] [PATCH] pkg-perl: prevents the interactive prompts

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Mar 18 22:28:03 UTC 2014


Dear Francois Perrad,

On Tue, 18 Mar 2014 19:59:59 +0100, Francois Perrad wrote:
> during configure and build steps of Perl/CPAN package.
> 
> Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
> ---
>  package/pkg-perl.mk |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/package/pkg-perl.mk b/package/pkg-perl.mk
> index fdf1580..b5fada1 100644
> --- a/package/pkg-perl.mk
> +++ b/package/pkg-perl.mk
> @@ -19,6 +19,9 @@
>  #
>  ################################################################################
>  
> +# prevents the interactive prompts
> +export PERL_MM_USE_DEFAULT=1

Instead of exporting globally this variable, I believe I would prefer
to see it passed only in the configure and build steps of the
appropriate package infrastructure, passed explicitly. Like what we do
for all autoconf arguments and environment variables, for example.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list