[OE-core] [PATCH 2/8] cpan_build.bbclass: remove libmodule-build-perl

Robert Yang liezhi.yang at windriver.com
Wed Jun 24 06:26:27 UTC 2015


There is no such a package in perl 5.22.0.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 meta/classes/cpan_build.bbclass |   16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass
index 2eb8162..4f648a6 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
-- 
1.7.9.5




More information about the Openembedded-core mailing list