From e4804a842235fe27e5bac51d9908933cdb3dd40e Mon Sep 17 00:00:00 2001 From: Jamie Lenehan Date: Wed, 2 May 2007 02:14:14 +0000 Subject: cpan.bbclass: Stop the cpan modules which ask you to confirm the configuration from hanging bitbake. They expect you to press y to indicate that you are ok with the configuration. For some reason there was no problem in bitbake 1.6 but this caused hangs in do_configure with bitbake 1.8. --- classes/cpan.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/cpan.bbclass') diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass index 410a1c6502..be08c84379 100644 --- a/classes/cpan.bbclass +++ b/classes/cpan.bbclass @@ -54,7 +54,7 @@ PERLLIBDIRS = "${@perl_get_libdirs(d)}" export PERLCONFIGTARGET = "${@is_target(d)}" cpan_do_configure () { - perl Makefile.PL ${EXTRA_CPANFLAGS} + yes '' | perl Makefile.PL ${EXTRA_CPANFLAGS} if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then . ${STAGING_DIR}/${TARGET_SYS}/perl/config.sh if [ "${IS_NEW_PERL}" = "yes" ]; then -- cgit 1.2.3-korg