aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/perl/perl_5.10.1.bb
AgeCommit message (Collapse)Author
2012-02-09perl_5.10.1.bb: Add search for librariesUlf Samuelsson
Ubuntu 11.04 i686 has moved around the libraries. perl-native will not build due to this. Backported from 5.14.2 Signed-off-by: Ulf Samuelsson <ulf@emagii.com>
2011-02-28perl: Drop grep-native from DEPENDS, update grep lineTom Rini
Both OS X 10.6 and FreeBSD (for some time) ship with GNU grep. Also, we can use -l rather than passing on to cut to get the files to mangle and put -r in with -I and -l. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-03perl: Make this not be MACHINE-specific in pstaging+signaturesTom Rini
Based on d332f1881f362cef88f2b9f40186482ac612c2d0 and b02a4addca8a4727767e24953b98f30399e3592b in poky. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-01perl: Drop 5.8.8, bump PR in all perl recipesTom Rini
Also remove DEFAULT_PREFERENCE = -1 from 5.10.1 Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-01-18perl: Fix build for linux-uclibcspe targetsKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-01-09perl: blacklist perl-module-cpanplus-internals-source-sqlite for perl-modulesRoman I Khimov
It has runtime dependencies on libdbd-sqlite-perl and libdbix-simple-perl which doesn't get built automatically if not required as build time dependency for something. It's not possible to add them as build time dependencies for perl itself since they're in turn depend on perl making a circular dependency (and they _really_ depend on perl because they build binaries, so no way to cheat by making this recipes not to depend on perl). It's also not correct to downgrade this runtime dependency to recommendation, since the module is really unusable without its dependencies. The most annoying thing about all this is that this dependency situation renders perl-modules package uninstallable by itself, failing with something like: Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-sdk-native: * libdbd-sqlite-perl * libdbix-simple-perl * So the best way to solve it IMO is to just blacklist it from perl-modules since the value of this module is questionable. It's experimental CPANPLUS backend that's not used by default, you have to specifically configure your perl to use it. And if you _really_ want to use it - the module package itself will still contain proper dependencies, you just need to get them built and installed. The problem only exists in perl 5.10.1, but 5.8.8 doesn't have this module, so blacklisting in common .inc doesn't hurt. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-12-30perl 5.10.1: fix archlib(exp) and privlib(exp) vars in target configsRoman I Khimov
These vars can be used to derive build flags for perl modules and thus should point to build-time directories in staged configs. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-12-28perl: fix some arch-specific config.sh variablesRoman I Khimov
* d_nv_preserves_uv, d_u32align, longlongsize: arch-specific, doesn't belong to generic config.sh * d_printf_format_null: missed definition for 32-bit archs * gidformat: wrong definition for 32-bit archs * uquadtype: defined twice, clean up * sGMTIME_max, sGMTIME_min, sLOCALTIME_max, sLOCALTIME_min: missed definition for 64-bit archs * d_u32align should be defined for ARM, although it's 32-bit arch Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-12-28perl-5.10.1: fix config var. 'need_va_copy'Vladimir Sorokin
On x86_64, powerpc & s390 architectures need to copy va_list variable, if it got from overlying function, before it passed to underlying function. Signed-off-by: Vladimir Sorokin <sorokin@altell.ru> Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-12-28perl 5.10.1: fix Time::HiRes cross-compilationRoman I Khimov
We can't do 'run' check, so let's hope compile check is enough. Fixes Time::HiRes::nanosleep(): unimplemented in this platform error. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-12-28perl: fix PERLCONFIGTARGET for multimach builds, move cpan varsRoman I Khimov
Multimachine builds race staging Config_heavy-target.pl to native directory. Solve that by changing PERLCONFIGTARGET variable semantics, now it will contain $TARGET_SYS. Change perl patch and stage functions accordingly. Also, move PERLCONFIGTARGET and other target-specific variable settings from cpan to cpan-base as I think they're also useful for cpan_build and anywhere else cpan-base is needed. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-12-02perl_5.8.8.bb, perl_5.10.1.bb: Fix build when DISTRO_FEATURES lacks largefile.Graham Gower
CCCMD = mipsel-oe-linux-uclibc-gcc -march=mips32 -DPERL_CORE -c -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/sys/types.h:27:0, from perl.h:420, from miniperlmain.c:36: /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled. Signed-off-by: Graham Gower <graham.gower@gmail.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-11-18recipes/perl: add another missing runtime dependencyDan Kruchinin
* Storable uses Carp::Heavy Signed-off-by: Dan Kruchinin <kruchinin@altell.ru> Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-10-24perl recipes: updated license from Artistic|GPLv1 to Artistic|GPLv1+Frans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-09perl: updated LICENSE; GPL -> GPLv1Frans Meulenbroeks
perl has as license the choice between Artistic or GPLv1. see http://dev.perl.org/licenses/ so changed LICENSE = "Artistic|GPL" to LICENSE = "Artistic|GPLv1" This also applies to CPAN recipes. Typically they specify that the code is licensed under the same terms as perl so figured that the above changes would be better in most (if not all) cases (and no, I did not verify all 130 or so recipes, if you feel this is needed, be my guest) Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-09-23perl 5.10.1: PROVIDES libmodule-build-perlRoman I Khimov
perl 5.10.1 has Module::Build built-in and it's newer than what we have in libmodule-build-perl-native. Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-09-23perl 5.10.1: update rdependsRoman I Khimov
Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-09-23perl 5.10.1: update patches to Debian's 5.10.1-14Roman I Khimov
* Debian's source package changed its format in 5.10.1-10, so we can't just apply one patch as it was with initial 5.10.1 release. * fixes CVE-2010-1974 * fixes MD5 on ARM * fixes several other bugs (see changelog from http://packages.debian.org/source/sid/perl) Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-09-02perl: Use CCLD not ${TARGET_SYS}-gcc in do_compileTom Rini
It's possible that CCLD != ${TARGET_SYS}-gcc once everything is evaluated and CCLD is for when you're using CC for LD. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-08-04perl: use only one method all_perl_packagesBernhard Reutner-Fischer
.. to avoid ERROR: Error Method already seen: all_perl_packages in' perl_5.8.8.bb' now in 'perl_5.10.1.bb' TODO: error() already prints "ERROR:" so the "Error" in above msg is redundant Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Acked-by: Roman I Khimov <khimov@altell.ru> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-08-03Recipe fixups for package_dbg usageChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-08-03recipes: Fix the PATHs for toolchains.Khem Raj
* Look into the new multi-machine friendly installation. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Koen Kooi <k-kooi@ti.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-07-29perl 5.10.1: add perl-module-utf8-heavy dependencyRoman I Khimov
Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-07-26Fix siteinfo issue in perl 5.8.8 and 5.10.1.Chris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-07-26cpan.bbclass: removed legacy stagingFrans Meulenbroeks
bumped PR for the main perl recipes so this change takes effect Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Roman I Khimov <khimov@altell.ru>
2010-07-22recipes: Fix references to CROSS_DIRKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Tom Rini <tom_rini@mentor.com> Acked-by: Richard Purdie <rpurdie@rpsys.net> Ackef-by: Chris Larson <clarson@kergoth.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@openembedded.org>
2010-07-15perl 5.10.1: fix standard module rdependenciesRoman I Khimov
Automatic dependency extraction script made some errors thus perl-modules wasn't installable. * s/perl-module-encode-kr-2022_kr/perl-module-encode-kr-2022-kr/ * perl-module-your-module-here came from example in script, dropped it * s/perl-module-cpan-exception-yaml_not_installed/perl-module-cpan-exception-yaml-not-installed/ * perl-module-dbd-sqlite - not part of standard perl, provided by libdbd-sqlite-perl * perl-module-dbix-simple - same as above, provided by libdbix-simple-perl Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-06-10perl 5.10.1: a bit more module runtime dependenciesRoman I Khimov
Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-06-10perl 5.10.1: fix sporadic "Use of uninitialized value $x in scalar assignment"Roman I Khimov
See this for further details: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480533 Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-05-25Make the do_patch apply=yes param implicit if extension is .diff/.patchChris Larson
For .diff/.patch you need to apply manually, you can specify apply=no. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-25Rename url params patch=<ignored>/pnum=<n> to apply={yes,no}/striplevel=<n>Chris Larson
I think this makes the behavior rather more clear. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-07perl: change 'cp' to 'ln' to fix perl build issues, thanks to Tom Rini for ↵Koen Kooi
the suggestion
2010-04-23perl: undef 'futimes' for uclibc buildVladimir Sorokin
Function 'futimes' doesn't exist in uClibc. Signed-off-by: Vladimir Sorokin <sorokin@altell.ru> Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-04-10perl 5.10.1: update perl-rdependsRoman I Khimov
Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-03-24perl: add version 5.10.1Roman I Khimov
Brings perl up to date. Biggest packaging change - make use of Debian patchset as whole. OE used lots of Debian patches anyway and the overall setup is very similar. So instead of picking and messing with individual patches it's far more easier to just use Debian's diff.gz as a whole. Added with masked preference, since it needs more testing. Currently it was only compiled and ran on i686. Signed-off-by: Roman I Khimov <khimov@altell.ru>