pkg-perl: prevents the interactive prompts
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
38a03d1292
commit
af156db881
|
@ -49,6 +49,7 @@ ifeq ($(4),target)
|
||||||
# Configure package for target
|
# Configure package for target
|
||||||
define $(2)_CONFIGURE_CMDS
|
define $(2)_CONFIGURE_CMDS
|
||||||
cd $$($$(PKG)_SRCDIR) && if [ -f Build.PL ] ; then \
|
cd $$($$(PKG)_SRCDIR) && if [ -f Build.PL ] ; then \
|
||||||
|
PERL_MM_USE_DEFAULT=1 \
|
||||||
perl Build.PL \
|
perl Build.PL \
|
||||||
--config ar="$(TARGET_AR)" \
|
--config ar="$(TARGET_AR)" \
|
||||||
--config full_ar="$(TARGET_AR)" \
|
--config full_ar="$(TARGET_AR)" \
|
||||||
|
@ -68,6 +69,7 @@ define $(2)_CONFIGURE_CMDS
|
||||||
--install_path libdoc=/usr/share/man/man3 \
|
--install_path libdoc=/usr/share/man/man3 \
|
||||||
$$($(2)_CONF_OPT); \
|
$$($(2)_CONF_OPT); \
|
||||||
else \
|
else \
|
||||||
|
PERL_MM_USE_DEFAULT=1 \
|
||||||
PERL_AUTOINSTALL=--skipdeps \
|
PERL_AUTOINSTALL=--skipdeps \
|
||||||
perl Makefile.PL \
|
perl Makefile.PL \
|
||||||
AR="$(TARGET_AR)" \
|
AR="$(TARGET_AR)" \
|
||||||
|
@ -93,11 +95,13 @@ else
|
||||||
# Configure package for host
|
# Configure package for host
|
||||||
define $(2)_CONFIGURE_CMDS
|
define $(2)_CONFIGURE_CMDS
|
||||||
cd $$($$(PKG)_SRCDIR) && if [ -f Build.PL ] ; then \
|
cd $$($$(PKG)_SRCDIR) && if [ -f Build.PL ] ; then \
|
||||||
|
PERL_MM_USE_DEFAULT=1 \
|
||||||
perl Build.PL \
|
perl Build.PL \
|
||||||
--install_base $$(HOST_DIR)/usr \
|
--install_base $$(HOST_DIR)/usr \
|
||||||
--installdirs vendor \
|
--installdirs vendor \
|
||||||
$$($(2)_CONF_OPT); \
|
$$($(2)_CONF_OPT); \
|
||||||
else \
|
else \
|
||||||
|
PERL_MM_USE_DEFAULT=1 \
|
||||||
PERL_AUTOINSTALL=--skipdeps \
|
PERL_AUTOINSTALL=--skipdeps \
|
||||||
perl Makefile.PL \
|
perl Makefile.PL \
|
||||||
INSTALL_BASE=$$(HOST_DIR)/usr \
|
INSTALL_BASE=$$(HOST_DIR)/usr \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user