summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-06-18 00:47:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-01 15:38:20 +0100
commit80afd9650328de2eb17ba0e104ee2c76a7fb983e (patch)
treeb631222028fe5fc6b562021212164578c799233f /meta
parent06d43a90acbe63baea62d220659149a3ff2f9198 (diff)
downloadopenembedded-core-80afd9650328de2eb17ba0e104ee2c76a7fb983e.tar.gz
openembedded-core-80afd9650328de2eb17ba0e104ee2c76a7fb983e.tar.bz2
openembedded-core-80afd9650328de2eb17ba0e104ee2c76a7fb983e.zip
cpan_build.bbclass: remove libmodule-build-perl
There is no such a package in perl 5.22.0. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/cpan_build.bbclass16
1 files changed, 0 insertions, 16 deletions
diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass
index 2eb8162314..4f648a60cf 100644
--- a/meta/classes/cpan_build.bbclass
+++ b/meta/classes/cpan_build.bbclass
@@ -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