diff options
author | Jamie Lenehan <lenehan@twibble.org> | 2006-09-26 08:06:33 +0000 |
---|---|---|
committer | Jamie Lenehan <lenehan@twibble.org> | 2006-09-26 08:06:33 +0000 |
commit | 2f99c8a6f32246b503f9a6548fe0a11e133cb889 (patch) | |
tree | d99aea3aa1368a2ff443d7d3a6c942cd80e498eb /classes/cpan.bbclass | |
parent | 189af8b6bb6ac246141051e204accacaf70c1231 (diff) |
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.bbclass')
-rw-r--r-- | classes/cpan.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass index 8acc9ab8f8..c48bd1a980 100644 --- a/classes/cpan.bbclass +++ b/classes/cpan.bbclass @@ -1,6 +1,12 @@ +# +# This is for perl modules that use the old Makefile.PL build system +# FILES_${PN} += '${libdir}/perl5' EXTRA_CPANFLAGS = "" +DEPENDS += "perl-native" +RDEPENDS += "perl" + cpan_do_configure () { perl Makefile.PL ${EXTRA_CPANFLAGS} if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then |