aboutsummaryrefslogtreecommitdiffstats
path: root/classes/cpan_build.bbclass
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2006-09-26 08:06:33 +0000
committerJamie Lenehan <lenehan@twibble.org>2006-09-26 08:06:33 +0000
commit2f99c8a6f32246b503f9a6548fe0a11e133cb889 (patch)
treed99aea3aa1368a2ff443d7d3a6c942cd80e498eb /classes/cpan_build.bbclass
parent189af8b6bb6ac246141051e204accacaf70c1231 (diff)
downloadopenembedded-2f99c8a6f32246b503f9a6548fe0a11e133cb889.tar.gz
openembedded-2f99c8a6f32246b503f9a6548fe0a11e133cb889.tar.bz2
openembedded-2f99c8a6f32246b503f9a6548fe0a11e133cb889.zip
cpan.bbclass/cpan_build.bbclass: Make all perl modules DEPEND on perl
and RDEPEND on perl-native to avoid having to add it to every single perl module recipe.
Diffstat (limited to 'classes/cpan_build.bbclass')
-rw-r--r--classes/cpan_build.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/cpan_build.bbclass b/classes/cpan_build.bbclass
index b61a009eed..b7cdf7d821 100644
--- a/classes/cpan_build.bbclass
+++ b/classes/cpan_build.bbclass
@@ -1,6 +1,12 @@
+#
+# This is for perl modules that use the new Build.PL build system
+#
INHIBIT_NATIVE_STAGE_INSTALL = "1"
FILES_${PN} += '${libdir}/perl5'
+DEPENDS += "perl-native"
+RDEPENDS += "perl"
+
def is_crosscompiling(d):
import bb
if not bb.data.inherits_class('native', d):