aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/perl
Commit message (Collapse)AuthorAgeFilesLines
* perl-native multilib patch for ubuntu 11.04Scott Ellis2011-06-022-0/+15
| | | | | | | | | | | Original patch from Scott Ellis Modified by US replacing `uname -m` by '*' to support non x86_64 targets (based on recommendations on the mailing list) (2011.03-maintenance cherry-pick: Tested-by: george huntington <george.huntingtoniii@gmail.com>) Signed-off-by: Scott Ellis <scott@jumpnowtek.com> Signed-off-by: Ulf Samuelsson <ulf.samuelsson@atmel.com>
* perl: Drop grep-native from DEPENDS, update grep lineTom Rini2011-02-281-3/+2
| | | | | | | | 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>
* perl-native: Switch to using create_wrapper to make perl relocatable.Tom Rini2011-02-031-9/+10
| | | | | | | | | 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>
* perl: Make this not be MACHINE-specific in pstaging+signaturesTom Rini2011-02-031-28/+23
| | | | | | | Based on d332f1881f362cef88f2b9f40186482ac612c2d0 and b02a4addca8a4727767e24953b98f30399e3592b in poky. Signed-off-by: Tom Rini <tom_rini@mentor.com>
* perl-rdepends_5.8.8.inc: Remove orphaned fileTom Rini2011-02-021-1145/+0
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* perl-native: Switch to userelocatableinc and not shared libperlTom Rini2011-02-011-17/+15
| | | | | | | | | | | | 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>
* perl: Drop 5.8.8, bump PR in all perl recipesTom Rini2011-02-01184-2800/+149
| | | | | | | | | 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>
* perl: Fix build for linux-uclibcspe targetsKhem Raj2011-01-182-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* perl: blacklist perl-module-cpanplus-internals-source-sqlite for perl-modulesRoman I Khimov2011-01-092-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* perl 5.8.8: fix breakage since 264f7ab1f41cc86d29716619d67506c85223df71Roman I Khimov2010-12-311-2/+2
| | | | | | No Config_heavy-target.pl anymore. Signed-off-by: Roman I Khimov <khimov@altell.ru>
* perl 5.10.1: fix archlib(exp) and privlib(exp) vars in target configsRoman I Khimov2010-12-301-1/+8
| | | | | | | | 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>
* perl: fix some arch-specific config.sh variablesRoman I Khimov2010-12-284-7/+11
| | | | | | | | | | | | | | * 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>
* perl-5.10.1: fix config var. 'need_va_copy'Vladimir Sorokin2010-12-281-1/+8
| | | | | | | | | 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>
* perl-native: fix ExtUtils::Liblist::Kid library check for cross-buildRoman I Khimov2010-12-282-1/+21
| | | | | | | | | | | | | | | | | | | | | 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>
* perl 5.10.1: fix Time::HiRes cross-compilationRoman I Khimov2010-12-282-1/+31
| | | | | | | | | | | | 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>
* perl: fix PERLCONFIGTARGET for multimach builds, move cpan varsRoman I Khimov2010-12-286-11/+11
| | | | | | | | | | | | | 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>
* perl_5.8.8.bb, perl_5.10.1.bb: Fix build when DISTRO_FEATURES lacks largefile.Graham Gower2010-12-022-0/+26
| | | | | | | | | | | 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>
* perl-native: Mangle scripts to use /usr/bin/env perlTom Rini2010-11-212-2/+13
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* recipes/perl: add another missing runtime dependencyDan Kruchinin2010-11-182-1/+3
| | | | | | | * Storable uses Carp::Heavy Signed-off-by: Dan Kruchinin <kruchinin@altell.ru> Signed-off-by: Roman I Khimov <khimov@altell.ru>
* perl recipes: updated license from Artistic|GPLv1 to Artistic|GPLv1+Frans Meulenbroeks2010-10-24138-138/+138
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* libxml-simple-perl_2.18.bb: similar license as perl so added GPLv1Frans Meulenbroeks2010-10-091-1/+1
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* libwww-mechanize-perl_1.60.bb: changed license from perl to Artistic|GPLv1 ↵Frans Meulenbroeks2010-10-091-1/+1
| | | | | | as used everywhere else Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* libsocket6-perl_0.23.bb: changed license to unkwown, no evidence that it is ↵Frans Meulenbroeks2010-10-091-1/+1
| | | | | | bsd (or something else) Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* liblinux-dvb-perl_1.0.bb: update LICENSE according to file COPYINGFrans Meulenbroeks2010-10-091-1/+1
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* libio-stringy-perl_2.110.bb: update LICENSE according to file COPYINGFrans Meulenbroeks2010-10-091-1/+1
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* libdevice-serialport-perl_1.04.bb: license = artistic according to .spec ↵Frans Meulenbroeks2010-10-091-1/+1
| | | | | | file in src dir Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* libclass-methodmaker-perl_2.15.bb: removed GPL from LICENSEFrans Meulenbroeks2010-10-091-1/+1
| | | | | | | | LICENSE said unknown|GPL (which seems very odd) could not find any evidence in the package or on CPAN about the license so removed the |GPL part as that is probably not right Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* libxml-parser-perl_2.36.bb: LICENSE is similar to perl so also GPLv1Frans Meulenbroeks2010-10-091-1/+1
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* libxml-parser-perl_2.34.bb: removed old versionFrans Meulenbroeks2010-10-091-21/+0
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* liblog-dispatch-perl: merged native and non-native recipesFrans Meulenbroeks2010-10-092-8/+2
| | | | | | as there is no functional change, no PR bump is needed Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* perl: updated LICENSE; GPL -> GPLv1Frans Meulenbroeks2010-10-09134-137/+137
| | | | | | | | | | | | | | 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>
* perl/libxml-namespacesupport-perl_1.11.bb: update LICENSEFrans Meulenbroeks2010-10-091-1/+1
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* perl/libxml-libxml-perl_1.70.bb: update LICENSEFrans Meulenbroeks2010-10-091-1/+1
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* perl/libxml-sax-perl_0.96.bb: updated LICENSEFrans Meulenbroeks2010-10-091-1/+1
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* Fix RDEPENDSFrans Meulenbroeks2010-10-061-1/+1
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* liblocale-gettext-perl: Switch to BBCLASSEXTENDTom Rini2010-09-302-5/+1
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* perl: moved a few unused patches to obsoleteFrans Meulenbroeks2010-09-263-39/+0
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* libintl-perl_1.11.bb: removedFrans Meulenbroeks2010-09-251-18/+0
| | | | | | | this one does not fetch any more (it is not available on cpan any more) also we still have 1.16 and 1.20 Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* liburi-perl: update to 1.5.5Eric Bénard2010-09-241-4/+4
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* perl 5.10.1: PROVIDES libmodule-build-perlRoman I Khimov2010-09-233-2/+11
| | | | | | | 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>
* perl 5.10.1: update rdependsRoman I Khimov2010-09-232-1/+4
| | | | Signed-off-by: Roman I Khimov <khimov@altell.ru>
* perl 5.10.1: update patches to Debian's 5.10.1-14Roman I Khimov2010-09-2347-2/+4570
| | | | | | | | | | * 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>
* libdbix-simple-perl_1.32.bb: DEPENDS_${PN} -> DEPENDSFrans Meulenbroeks2010-09-181-2/+2
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* libdbd-sqlite-perl: updated to 1.31; fixed dependsFrans Meulenbroeks2010-09-181-4/+4
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* libversion-perl: updated to 0.82Frans Meulenbroeks2010-09-181-3/+3
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* e17 : moved unused files to obsolete dirFrans Meulenbroeks2010-09-181-0/+0
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* libversion-perl_0.6701.bb: gave default preference of -1Frans Meulenbroeks2010-09-181-0/+2
| | | | | | | | | | This version does not build with perl 5.10.1 also it is not really the latest version as we have: libversion-perl_0.6701.bb libversion-perl_0.80.bb but due to the numbering rules we still get the old version from 2006 The 0.80 version builds fine with 5.10.1 Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* libdatetime-timezone-perl_1.21.bb: fix DEPENDS/RDEPENDSFrans Meulenbroeks2010-09-121-3/+5
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* libdatetime-perl_0.61.bb: fix DEPENDS/RDEPENDSFrans Meulenbroeks2010-09-121-2/+4
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* libdatetime-locale-perl_0.45.bb: fix DEPENDS/RDEPENDSFrans Meulenbroeks2010-09-121-2/+3
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>