[oe-commits] Chris Larson : cpan_build.bbclass: rename cpan_build_dep_prepend

git version control git at git.openembedded.org
Thu Jun 24 17:20:47 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: bcb0f044585d4a37721a7c97e3e5d13b5c563d9c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=bcb0f044585d4a37721a7c97e3e5d13b5c563d9c

Author: Chris Larson <chris_larson at mentor.com>
Date:   Thu Jun 24 10:19:33 2010 -0700

cpan_build.bbclass: rename cpan_build_dep_prepend

Same reasoning as the {autotools,base}_dep_prepend rename.

Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 classes/cpan_build.bbclass |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/classes/cpan_build.bbclass b/classes/cpan_build.bbclass
index 56f5816..15c93fb 100644
--- a/classes/cpan_build.bbclass
+++ b/classes/cpan_build.bbclass
@@ -11,7 +11,7 @@ NATIVE_INSTALL_WORKS = "1"
 # this class, but uses itself as the provider of
 # libmodule-build-perl)
 #
-def cpan_build_dep_prepend(d):
+def cpan_build_deps(d):
 	if bb.data.getVar('CPAN_BUILD_DEPS', d, 1):
 		return ''
 	pn = bb.data.getVar('PN', d, 1)
@@ -19,7 +19,7 @@ def cpan_build_dep_prepend(d):
 		return ''
 	return 'libmodule-build-perl-native '
 
-DEPENDS_prepend = "${@cpan_build_dep_prepend(d)}"
+DEPENDS_prepend = "${@cpan_build_deps(d)}"
 
 cpan_build_do_configure () {
 	if [ ${@is_target(d)} == "yes" ]; then





More information about the Openembedded-commits mailing list