Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
|
|
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 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>
|
|
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>
|
|
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>
|
|
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>
|
|
* this doesn't solve the build problem with perl, though
|
|
this should make things work again after http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=12c5d82663ff4436f4d979b4de1d4475694c7b9f
|
|
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
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>
|