All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] pkg-perl: prevents the interactive prompts
@ 2014-03-18 18:59 Francois Perrad
  2014-03-18 22:28 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2014-03-18 18:59 UTC (permalink / raw)
  To: buildroot

during configure and build steps of Perl/CPAN package.

Signed-off-by: Francois Perrad <francois.perrad@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
+
 PERL_ARCHNAME	= $(ARCH)-linux
 
 ################################################################################
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] pkg-perl: prevents the interactive prompts
  2014-03-18 18:59 [Buildroot] [PATCH] pkg-perl: prevents the interactive prompts Francois Perrad
@ 2014-03-18 22:28 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-03-18 22:28 UTC (permalink / raw)
  To: buildroot

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@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-18 22:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-18 18:59 [Buildroot] [PATCH] pkg-perl: prevents the interactive prompts Francois Perrad
2014-03-18 22:28 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.