diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/classes/cpan-base.bbclass | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
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 1fc3f0bcb0..9758065bfc 100644 --- a/meta/classes/cpan-base.bbclass +++ b/meta/classes/cpan-base.bbclass | |||
@@ -2,10 +2,10 @@ | |||
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}/perl5 ${datadir}/perl5" | 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))]}" |
9 | 9 | ||
10 | inherit perl-version | 10 | inherit perl-version |
11 | 11 | ||
@@ -15,7 +15,7 @@ def is_target(d): | |||
15 | return "no" | 15 | return "no" |
16 | 16 | ||
17 | PERLLIBDIRS = "${libdir}/perl5" | 17 | PERLLIBDIRS = "${libdir}/perl5" |
18 | PERLLIBDIRS_class-native = "${libdir}/perl5" | 18 | PERLLIBDIRS:class-native = "${libdir}/perl5" |
19 | 19 | ||
20 | def cpan_upstream_check_pattern(d): | 20 | def cpan_upstream_check_pattern(d): |
21 | for x in (d.getVar('SRC_URI') or '').split(' '): | 21 | for x in (d.getVar('SRC_URI') or '').split(' '): |