diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-06-18 00:47:56 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-01 15:39:58 +0100 |
commit | 304ebe1fa2b05f62a15882095317044fd29c4c8d (patch) | |
tree | 78999179840bff3c0eb5ef4ab75f90de25b85262 | |
parent | 3f7e55baa6b65b39c5698bb58320f85876cebe23 (diff) | |
download | poky-304ebe1fa2b05f62a15882095317044fd29c4c8d.tar.gz |
cpan_build.bbclass: remove libmodule-build-perl
There is no such a package in perl 5.22.0.
(From OE-Core rev: 80afd9650328de2eb17ba0e104ee2c76a7fb983e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/cpan_build.bbclass | 16 |
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)}" | |||
10 | export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" | 10 | export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" |
11 | export LD = "${CCLD}" | 11 | export LD = "${CCLD}" |
12 | 12 | ||
13 | # | ||
14 | # We also need to have built libmodule-build-perl-native for | ||
15 | # everything except libmodule-build-perl-native itself (which uses | ||
16 | # this class, but uses itself as the provider of | ||
17 | # libmodule-build-perl) | ||
18 | # | ||
19 | def cpan_build_dep_prepend(d): | ||
20 | if d.getVar('CPAN_BUILD_DEPS', True): | ||
21 | return '' | ||
22 | pn = d.getVar('PN', True) | ||
23 | if pn in ['libmodule-build-perl', 'libmodule-build-perl-native']: | ||
24 | return '' | ||
25 | return 'libmodule-build-perl-native ' | ||
26 | |||
27 | DEPENDS_prepend = "${@cpan_build_dep_prepend(d)}" | ||
28 | |||
29 | cpan_build_do_configure () { | 13 | cpan_build_do_configure () { |
30 | if [ "${@is_target(d)}" = "yes" ]; then | 14 | if [ "${@is_target(d)}" = "yes" ]; then |
31 | # build for target | 15 | # build for target |