From af156db8817efe27109b8cfc6933bc8ef6150fbb Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Thu, 20 Mar 2014 19:35:42 +0100 Subject: [PATCH] pkg-perl: prevents the interactive prompts Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- package/pkg-perl.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/pkg-perl.mk b/package/pkg-perl.mk index fdf1580fa2..447f364e05 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 \ -- 2.30.2