* [Buildroot] [V2] pkg-perl: prevents the interactive prompts
@ 2014-03-20 18:35 Francois Perrad
2014-03-29 9:32 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2014-03-20 18:35 UTC (permalink / raw)
To: buildroot
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
package/pkg-perl.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/pkg-perl.mk b/package/pkg-perl.mk
index fdf1580..447f364 100644
--- a/package/pkg-perl.mk
+++ b/package/pkg-perl.mk
@@ -49,6 +49,7 @@ ifeq ($(4),target)
# Configure package for target
define $(2)_CONFIGURE_CMDS
cd $$($$(PKG)_SRCDIR) && if [ -f Build.PL ] ; then \
+ PERL_MM_USE_DEFAULT=1 \
perl Build.PL \
--config ar="$(TARGET_AR)" \
--config full_ar="$(TARGET_AR)" \
@@ -68,6 +69,7 @@ define $(2)_CONFIGURE_CMDS
--install_path libdoc=/usr/share/man/man3 \
$$($(2)_CONF_OPT); \
else \
+ PERL_MM_USE_DEFAULT=1 \
PERL_AUTOINSTALL=--skipdeps \
perl Makefile.PL \
AR="$(TARGET_AR)" \
@@ -93,11 +95,13 @@ else
# Configure package for host
define $(2)_CONFIGURE_CMDS
cd $$($$(PKG)_SRCDIR) && if [ -f Build.PL ] ; then \
+ PERL_MM_USE_DEFAULT=1 \
perl Build.PL \
--install_base $$(HOST_DIR)/usr \
--installdirs vendor \
$$($(2)_CONF_OPT); \
else \
+ PERL_MM_USE_DEFAULT=1 \
PERL_AUTOINSTALL=--skipdeps \
perl Makefile.PL \
INSTALL_BASE=$$(HOST_DIR)/usr \
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [V2] pkg-perl: prevents the interactive prompts
2014-03-20 18:35 [Buildroot] [V2] pkg-perl: prevents the interactive prompts Francois Perrad
@ 2014-03-29 9:32 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-03-29 9:32 UTC (permalink / raw)
To: buildroot
Dear Francois Perrad,
On Thu, 20 Mar 2014 19:35:42 +0100, Francois Perrad wrote:
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
> package/pkg-perl.mk | 4 ++++
> 1 file changed, 4 insertions(+)
Applied, thanks!
Speaking of the perl-package infrastructure, we don't have any target
perl-package in the tree as of today. Would it be possible to add at
least a few of them, at least to make sure the perl-package
infrastructure is regularly exercised by the autobuilder tests?
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-29 9:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-20 18:35 [Buildroot] [V2] pkg-perl: prevents the interactive prompts Francois Perrad
2014-03-29 9:32 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox