Skip to contentSkip to conversation

pkg-perl: prevents the interactive prompts

PATCH New Francois Perrad 2 participants 2 messages Mar 20, 2014 – Mar 29, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 pkg-perl: prevents the interactive prompts

---
 package/pkg-perl.mk |    4 ++++
 1 file changed, 4 insertions(+)
package/pkg-perl.mk +4 -0
index fdf1580..447f364 100644
@@ -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 \
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 1/1 pkg-perl: prevents the interactive prompts

Dear Francois Perrad,

Quoted 4 lines · Francois Perrad
---
 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

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