From: Koen Kooi Date: Tue, 10 Nov 2009 20:34:41 +0000 (+0100) Subject: cpan-base bbclass: update to match change to perl-native staging X-Git-Tag: Release-2010-05/1~1728^2~19^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c028070df436ea6b94395e776c7fd7266b64e0a6;p=openembedded.git cpan-base bbclass: update to match change to perl-native staging --- diff --git a/classes/cpan-base.bbclass b/classes/cpan-base.bbclass index 19d431ce72..394539daba 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: