summaryrefslogtreecommitdiffstats
path: root/meta/classes/cpan.bbclass
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2010-12-30 12:27:54 -0800
committerSaul Wold <sgw@linux.intel.com>2011-01-12 00:55:48 -0800
commit83796edd29561f02b6f7b036351711f8def77a4f (patch)
tree6a71cc0f9a71c3c14a0557bab12f1859830909b3 /meta/classes/cpan.bbclass
parentf57e9daf74d5fbab6c9a3f5e60e1320a0bf0642d (diff)
downloadpoky-83796edd29561f02b6f7b036351711f8def77a4f.tar.gz
cpan.bbclass: use LIBDIR instead of DATADIR
perl 5.12.2 does not use /usr/share/perl path, and all that stuff goes in /usr/lib/perl. This commit fixes cpan class which depends on /usr/share/perl. cpan.base/build.bbclass: change /usr/lib/perl5 to /usr/lib/perl Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/classes/cpan.bbclass')
-rw-r--r--meta/classes/cpan.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index 513f0b3ce7..05f2374f4f 100644
--- a/meta/classes/cpan.bbclass
+++ b/meta/classes/cpan.bbclass
@@ -10,7 +10,7 @@ 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
12export PERL_INC = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}/CORE" 12export PERL_INC = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}/CORE"
13export PERL_LIB = "${STAGING_DATADIR}/perl/${@get_perl_version(d)}" 13export PERL_LIB = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}"
14export PERL_ARCHLIB = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}" 14export PERL_ARCHLIB = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}"
15 15
16cpan_do_configure () { 16cpan_do_configure () {