aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/perl/perl_5.10.1.bb
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-08-04 03:51:57 +0000
committerChris Larson <chris_larson@mentor.com>2010-08-04 09:07:15 -0700
commit6b53fcad4f2af012e762bbf6450831857ca29373 (patch)
treef1f992143f6504210464398760d5f69bb24cc1bf /recipes/perl/perl_5.10.1.bb
parent7bc322831d1ed3487d36dee4687b7fa3b5cc81e4 (diff)
downloadopenembedded-6b53fcad4f2af012e762bbf6450831857ca29373.tar.gz
openembedded-6b53fcad4f2af012e762bbf6450831857ca29373.tar.bz2
openembedded-6b53fcad4f2af012e762bbf6450831857ca29373.zip
perl: use only one method all_perl_packages
.. to avoid ERROR: Error Method already seen: all_perl_packages in' perl_5.8.8.bb' now in 'perl_5.10.1.bb' TODO: error() already prints "ERROR:" so the "Error" in above msg is redundant Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Acked-by: Roman I Khimov <khimov@altell.ru> Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'recipes/perl/perl_5.10.1.bb')
-rw-r--r--recipes/perl/perl_5.10.1.bb7
1 files changed, 1 insertions, 6 deletions
diff --git a/recipes/perl/perl_5.10.1.bb b/recipes/perl/perl_5.10.1.bb
index 75993b519a..a09c59dcbc 100644
--- a/recipes/perl/perl_5.10.1.bb
+++ b/recipes/perl/perl_5.10.1.bb
@@ -210,12 +210,7 @@ FILES_${PN}-doc = "${datadir}/perl/${PV}/*/*.txt \
RPROVIDES_perl-lib = "perl-lib"
-def all_perl_packages(d):
- depchains = (d.getVar("DEPCHAIN_POST", True) or "").split()
- blacklist = ["perl-modules", "perl-misc", "perl-pod", "perl-doc"]
- for pkg in d.getVar("PACKAGES", True).split():
- if not pkg in blacklist and not any(pkg.endswith(post) for post in depchains):
- yield pkg
+require perl.inc
# Create a perl-modules package recommending all the other perl
# packages (actually the non modules packages and not created too)