summaryrefslogtreecommitdiffstats
path: root/meta/classes/cpan-base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/cpan-base.bbclass')
-rw-r--r--meta/classes/cpan-base.bbclass6
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#
5FILES_${PN} += "${libdir}/perl5 ${datadir}/perl5" 5FILES:${PN} += "${libdir}/perl5 ${datadir}/perl5"
6 6
7DEPENDS += "${@["perl", "perl-native"][(bb.data.inherits_class('native', d))]}" 7DEPENDS += "${@["perl", "perl-native"][(bb.data.inherits_class('native', d))]}"
8RDEPENDS_${PN} += "${@["perl", ""][(bb.data.inherits_class('native', d))]}" 8RDEPENDS:${PN} += "${@["perl", ""][(bb.data.inherits_class('native', d))]}"
9 9
10inherit perl-version 10inherit perl-version
11 11
@@ -15,7 +15,7 @@ def is_target(d):
15 return "no" 15 return "no"
16 16
17PERLLIBDIRS = "${libdir}/perl5" 17PERLLIBDIRS = "${libdir}/perl5"
18PERLLIBDIRS_class-native = "${libdir}/perl5" 18PERLLIBDIRS:class-native = "${libdir}/perl5"
19 19
20def cpan_upstream_check_pattern(d): 20def 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(' '):