summaryrefslogtreecommitdiff
path: root/classes/cpan.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-10-07 09:13:31 +0000
committerKoen Kooi <koen@openembedded.org>2008-10-07 09:13:31 +0000
commit23f9d417abc9370bd7495622f84c990f718e7bf5 (patch)
tree028883539296336f8f5e22c3f02e6a22ae46b81e /classes/cpan.bbclass
parent92eaf30453ac777faf241fe5c1c480e274997226 (diff)
cpan* bbclass: fix for staging layout changes
sdk bblcass: ditto, this time the fix is from poky
Diffstat (limited to 'classes/cpan.bbclass')
-rw-r--r--classes/cpan.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass
index 005e7cc0e9..3ff3f3093d 100644
--- a/classes/cpan.bbclass
+++ b/classes/cpan.bbclass
@@ -15,7 +15,7 @@ export PERL_ARCHLIB = "${STAGING_LIBDIR_NATIVE}/perl/${@get_perl_version(d)}"
cpan_do_configure () {
yes '' | perl Makefile.PL ${EXTRA_CPANFLAGS}
if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
- . ${STAGING_DIR}/${TARGET_SYS}/perl/config.sh
+ . ${STAGING_DIR_TARGET}/perl/config.sh
if [ "${IS_NEW_PERL}" = "yes" ]; then
sed -i -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:" \
-e "s:\(SITEARCHEXP = \).*:\1${sitearchexp}:" \