diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2018-12-02 12:52:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-11 10:39:09 +0000 |
commit | d460892f32fd6ec0a26231db9eead27a1ec7fcb4 (patch) | |
tree | f57fcfe3b6777295894feff4dedfc654741f4412 /meta/classes/cpan-base.bbclass | |
parent | 00b9e7011e1e468a94fdd4dd5fc321d6adc90b79 (diff) | |
download | poky-d460892f32fd6ec0a26231db9eead27a1ec7fcb4.tar.gz |
meta/classes: adjust perl-related classes to the new recipes
This mostly means tweaking the paths to match upstream defaults.
get_perl_arch() functions are taken from the patch by Jens Rehsack:
http://lists.openembedded.org/pipermail/openembedded-core/2018-November/276546.html
(From OE-Core rev: d6b36b1babb4d3e8d41278111e71c71fde9af39e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cpan-base.bbclass')
-rw-r--r-- | meta/classes/cpan-base.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/cpan-base.bbclass b/meta/classes/cpan-base.bbclass index 577fcd63ce..867edf8707 100644 --- a/meta/classes/cpan-base.bbclass +++ b/meta/classes/cpan-base.bbclass | |||
@@ -2,7 +2,7 @@ | |||
2 | # cpan-base providers various perl related information needed for building | 2 | # cpan-base providers various perl related information needed for building |
3 | # cpan modules | 3 | # cpan modules |
4 | # | 4 | # |
5 | FILES_${PN} += "${libdir}/perl ${datadir}/perl" | 5 | FILES_${PN} += "${libdir}/perl5 ${datadir}/perl5" |
6 | 6 | ||
7 | DEPENDS += "${@["perl", "perl-native"][(bb.data.inherits_class('native', d))]}" | 7 | DEPENDS += "${@["perl", "perl-native"][(bb.data.inherits_class('native', d))]}" |
8 | RDEPENDS_${PN} += "${@["perl", ""][(bb.data.inherits_class('native', d))]}" | 8 | RDEPENDS_${PN} += "${@["perl", ""][(bb.data.inherits_class('native', d))]}" |
@@ -14,5 +14,5 @@ def is_target(d): | |||
14 | return "yes" | 14 | return "yes" |
15 | return "no" | 15 | return "no" |
16 | 16 | ||
17 | PERLLIBDIRS = "${libdir}/perl" | 17 | PERLLIBDIRS = "${libdir}/perl5" |
18 | PERLLIBDIRS_class-native = "${libdir}/perl-native" | 18 | PERLLIBDIRS_class-native = "${libdir}/perl5" |