From 08c11b41ad1b87848bd925f3d7b00432e312a10a Mon Sep 17 00:00:00 2001 From: Jamie Lenehan Date: Tue, 3 Oct 2006 22:47:38 +0000 Subject: perl 5.8.7: Manually add some dependencies for the math-bigint modules which are not picked up by the script which was used to generate the automatic dependencies. They way they are used makes it difficult to automatically detect that these are needed. --- packages/perl/perl_5.8.7.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/perl/perl_5.8.7.bb b/packages/perl/perl_5.8.7.bb index 0c69458d6d..68d96cb418 100644 --- a/packages/perl/perl_5.8.7.bb +++ b/packages/perl/perl_5.8.7.bb @@ -22,7 +22,7 @@ SRC_URI_append_sh3 += "file://makefile-usegcc-to-link.patch;patch=1" PARALLEL_MAKE = "" -PR = "r19" +PR = "r20" do_configure() { ln -sf ${HOSTPERL} ${STAGING_BINDIR}/hostperl @@ -84,6 +84,10 @@ require perl-rdepends_${PV}.inc # To create/update the perl-rdepends_${PV}.inc use this piece of ugly script (modified for your arch/paths etc): # daka@DaKa2:/home/slug/slugos/tmp/work/perl-5.8.7-r14/install$ egrep -r "use|require" * | grep ";$" | egrep ".pm:use |.pm:require " | grep -v v5.6.0 | grep -v 5.00 | grep -v \$module | sed -e "s, \+, ,g" | cut -f1,2 -d" " | sed -e "s,;, ,g" | sed -e "s,(), ,g" | sed -e "s,::,-,g" | sort | uniq | tr [:upper:] [:lower:] | sed -e "s,/[^ ]\+ , += \"perl-module-,g" | sed -e "s, \?$, \",g" | sed -e "s,_,-,g" | sed -e "s,^,RDEPENDS_,g" | sed -e "s,armeb-linux,\$\{TARGET_ARCH\}-\$\{TARGET_OS\},g" | egrep -v "perl-module-5|perl-module-tk|perl-module-mac-internetconfig|perl-module-ndbm-file|perl-module-html-treebuilder|perl-module-lwp-simple|perl-module-vms-filespec|perl-module-fcgi|perl-module-vms-stdio|perl-module-mac-buildtools" > /home/slug/openembedded/packages/perl/perl-rdepends_5.8.7.inc +# Some additional dependencies that the above doesn't manage to figure out +DEPENDS_perl-module-math-bigint += "perl-module-math-bigint-calc " +DEPENDS_perl-module-math-bigint-calc += "perl-module-integer " + # Some packages changed names in 5.8.7-r14, RPROVIDE them RPROVIDES_perl-module-b-asmdata = "perl-module-${TARGET_SYS}-b-asmdata" RPROVIDES_perl-module-b-assembler = "perl-module-${TARGET_SYS}-b-assembler" -- cgit v1.2.3