aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/perl/perl-native_5.10.1.bb
AgeCommit message (Collapse)Author
2011-02-03perl-native: Switch to using create_wrapper to make perl relocatable.Tom Rini
This is taken from poky. In addition to problems in upstream perl 5.12.x, Martin Jansa discovered that the regex perl uses during install is broken for things like /OE/whatever (due to not escapipng the periods in the regex perl uses). Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-01perl-native: Switch to userelocatableinc and not shared libperlTom Rini
While in here, we didn't use db nor gdbm so remove those as deps. This recipe is safe with no other deps so add INHIBIT_DEFAULT_DEPS and switch to patch as PATCHTOOL. Being relocatable means we don't need the config.sh mangling we had been doing and we want to be more clear about our mangling of scripts to use /usr/bin/env perl Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> 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>
2010-12-28perl-native: fix ExtUtils::Liblist::Kid library check for cross-buildRoman I Khimov
MakeMaker uses it to check for libraries presence and if the library is not found in host dirs (/lib, /usr/lib, etc) it fails with messages like: Note (probably harmless): No library found for -lpcap Unfortunately it's not harmless, since MakeMaker removes such libs from flags passed to link target modules which obviously breaks them. Seen that on Net::PCAP, the package built fine, but the actual library wasn't linked to pcap, thus not working. In order for target perl libraries to build properly native perl needs to be patched. As I don't know exact semantic and all use-cases of libpth config variable I've workarounded this issue by prepending ldflags (and this does contain the right path) to lib flags. 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-11-21perl-native: Mangle scripts to use /usr/bin/env perlTom Rini
Signed-off-by: Tom Rini <tom_rini@mentor.com>
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-07-07perl-native: Add a CPAN/Config.pm fileTom Rini
Without this, cpan stuff can get in an infinite loop. We try and pick a good enough mirror but if needed could add CPAN_MIRROR to bitbake.conf and regex that in as well. Signed-off-by: Tom Rini <tom_rini@mentor.com>
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-native: fix do_install a bit moreKoen Kooi
* this doesn't solve the build problem with perl, though
2010-05-05perl-native: attempt to repair staging, bump PRKoen Kooi
this should make things work again after http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=12c5d82663ff4436f4d979b4de1d4475694c7b9f
2010-05-04perl-native: Switch away from legacy staging, bump PR.Tom Rini
Signed-off-by: Tom Rini <tom_rini@mentor.com>
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>