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 | poky-7acfa9467f7acb4d15663ed81b46cc88fd1bd6a8.tar.gz |
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)}" | |||
10 | 10 | ||
11 | # Env var which tells perl where the perl include files are | 11 | # Env var which tells perl where the perl include files are |
12 | export PERL_INC = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}/CORE" | 12 | export PERL_INC = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}/CORE" |
13 | export PERL_LIB = "${STAGING_DATADIR}/perl/${@get_perl_version(d)}" | ||
14 | export PERL_ARCHLIB = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}" | ||
13 | 15 | ||
14 | cpan_do_configure () { | 16 | cpan_do_configure () { |
15 | yes '' | perl Makefile.PL ${EXTRA_CPANFLAGS} | 17 | yes '' | perl Makefile.PL ${EXTRA_CPANFLAGS} |
16 | if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then | 18 | if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then |
17 | . ${STAGING_DIR}/${TARGET_SYS}/perl/config.sh | 19 | . ${STAGING_LIBDIR}/perl/config.sh |
18 | if [ "${IS_NEW_PERL}" = "yes" ]; then | 20 | if [ "${IS_NEW_PERL}" = "yes" ]; then |
19 | sed -i -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:" \ | 21 | sed -i -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:" \ |
20 | -e "s:\(SITEARCHEXP = \).*:\1${sitearchexp}:" \ | 22 | -e "s:\(SITEARCHEXP = \).*:\1${sitearchexp}:" \ |