[oe-commits] Koen Kooi : cpan-base bbclass: update to match change to perl-native staging

git version control git at git.openembedded.org
Tue Nov 10 20:35:49 UTC 2009


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

Author: Koen Kooi <koen at openembedded.org>
Date:   Tue Nov 10 21:34:41 2009 +0100

cpan-base bbclass: update to match change to perl-native staging

---

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

diff --git a/classes/cpan-base.bbclass b/classes/cpan-base.bbclass
index 19d431c..394539d 100644
--- a/classes/cpan-base.bbclass
+++ b/classes/cpan-base.bbclass
@@ -10,7 +10,7 @@ RDEPENDS  += "${@["perl", ""][(bb.data.inherits_class('native', d))]}"
 # Determine the staged version of perl from the perl configuration file
 def get_perl_version(d):
 	import os, bb, re
-    	cfg = bb.data.expand('${STAGING_DIR_HOST}/perl/config.sh', d)
+    	cfg = bb.data.expand('${STAGING_DIR)/${HOST_SYS}/perl/config.sh', d)
 	try:
 		f = open(cfg, 'r')
 	except IOError:





More information about the Openembedded-commits mailing list