]> code.ossystems Code Review - openembedded-core.git/commitdiff
cpan_build.bbclass: remove libmodule-build-perl
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 18 Jun 2015 07:47:56 +0000 (00:47 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Jul 2015 14:38:20 +0000 (15:38 +0100)
There is no such a package in perl 5.22.0.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/classes/cpan_build.bbclass

index 2eb81623147f1d3cb92c20567362a0b72fe82fe6..4f648a60cff4cc9d25191a934ec0781e6d9f2dc6 100644 (file)
@@ -10,22 +10,6 @@ export PERLCONFIGTARGET = "${@is_target(d)}"
 export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}"
 export LD = "${CCLD}"
 
-#
-# We also need to have built libmodule-build-perl-native for
-# everything except libmodule-build-perl-native itself (which uses
-# this class, but uses itself as the provider of
-# libmodule-build-perl)
-#
-def cpan_build_dep_prepend(d):
-       if d.getVar('CPAN_BUILD_DEPS', True):
-               return ''
-       pn = d.getVar('PN', True)
-       if pn in ['libmodule-build-perl', 'libmodule-build-perl-native']:
-               return ''
-       return 'libmodule-build-perl-native '
-
-DEPENDS_prepend = "${@cpan_build_dep_prepend(d)}"
-
 cpan_build_do_configure () {
        if [ "${@is_target(d)}" = "yes" ]; then
                # build for target