diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 10:56:17 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 10:56:17 +0000 |
commit | 7acfa9467f7acb4d15663ed81b46cc88fd1bd6a8 (patch) | |
tree | df62c5b38a72b8f2b654e6d17ed1204763c26ce7 /meta/classes/cpan.bbclass | |
parent | 5c0111cb9db0162d111eed41540de6a702b68e58 (diff) | |
download | openembedded-core-7acfa9467f7acb4d15663ed81b46cc88fd1bd6a8.tar.gz openembedded-core-7acfa9467f7acb4d15663ed81b46cc88fd1bd6a8.tar.bz2 openembedded-core-7acfa9467f7acb4d15663ed81b46cc88fd1bd6a8.zip |
perl: Standardise config.sh location
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/cpan.bbclass')
-rw-r--r-- | meta/classes/cpan.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass index ca5303d97f..66054bc755 100644 --- a/meta/classes/cpan.bbclass +++ b/meta/classes/cpan.bbclass @@ -10,11 +10,13 @@ export PERLCONFIGTARGET = "${@is_target(d)}" # Env var which tells perl where the perl include files are export PERL_INC = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}/CORE" +export PERL_LIB = "${STAGING_DATADIR}/perl/${@get_perl_version(d)}" +export PERL_ARCHLIB = "${STAGING_LIBDIR}/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_LIBDIR}/perl/config.sh if [ "${IS_NEW_PERL}" = "yes" ]; then sed -i -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:" \ -e "s:\(SITEARCHEXP = \).*:\1${sitearchexp}:" \ |