aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/perl
AgeCommit message (Collapse)Author
2011-06-02perl-native multilib patch for ubuntu 11.04Scott Ellis
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>
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-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-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-02perl-rdepends_5.8.8.inc: Remove orphaned fileTom Rini
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>
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-31perl 5.8.8: fix breakage since 264f7ab1f41cc86d29716619d67506c85223df71Roman I Khimov
No Config_heavy-target.pl anymore. Signed-off-by: Roman I Khimov <khimov@altell.ru>
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-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 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-21perl-native: Mangle scripts to use /usr/bin/env perlTom Rini
Signed-off-by: Tom Rini <tom_rini@mentor.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-09libxml-simple-perl_2.18.bb: similar license as perl so added GPLv1Frans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-09libwww-mechanize-perl_1.60.bb: changed license from perl to Artistic|GPLv1 ↵Frans Meulenbroeks
as used everywhere else Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-09libsocket6-perl_0.23.bb: changed license to unkwown, no evidence that it is ↵Frans Meulenbroeks
bsd (or something else) Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-09liblinux-dvb-perl_1.0.bb: update LICENSE according to file COPYINGFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-09libio-stringy-perl_2.110.bb: update LICENSE according to file COPYINGFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-09libdevice-serialport-perl_1.04.bb: license = artistic according to .spec ↵Frans Meulenbroeks
file in src dir Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-09libclass-methodmaker-perl_2.15.bb: removed GPL from LICENSEFrans Meulenbroeks
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>
2010-10-09libxml-parser-perl_2.36.bb: LICENSE is similar to perl so also GPLv1Frans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-09libxml-parser-perl_2.34.bb: removed old versionFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-09liblog-dispatch-perl: merged native and non-native recipesFrans Meulenbroeks
as there is no functional change, no PR bump is needed 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-10-09perl/libxml-namespacesupport-perl_1.11.bb: update LICENSEFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-09perl/libxml-libxml-perl_1.70.bb: update LICENSEFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-09perl/libxml-sax-perl_0.96.bb: updated LICENSEFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-06Fix RDEPENDSFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-09-30liblocale-gettext-perl: Switch to BBCLASSEXTENDTom Rini
Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-09-26perl: moved a few unused patches to obsoleteFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-09-25libintl-perl_1.11.bb: removedFrans Meulenbroeks
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>
2010-09-24liburi-perl: update to 1.5.5Eric Bénard
Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-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-18libdbix-simple-perl_1.32.bb: DEPENDS_${PN} -> DEPENDSFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-09-18libdbd-sqlite-perl: updated to 1.31; fixed dependsFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-09-18libversion-perl: updated to 0.82Frans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-09-18e17 : moved unused files to obsolete dirFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-09-18libversion-perl_0.6701.bb: gave default preference of -1Frans Meulenbroeks
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>
2010-09-12libdatetime-timezone-perl_1.21.bb: fix DEPENDS/RDEPENDSFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-09-12libdatetime-perl_0.61.bb: fix DEPENDS/RDEPENDSFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-09-12libdatetime-locale-perl_0.45.bb: fix DEPENDS/RDEPENDSFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>