diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2010-12-30 12:27:54 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-01-12 00:55:48 -0800 |
commit | 83796edd29561f02b6f7b036351711f8def77a4f (patch) | |
tree | 6a71cc0f9a71c3c14a0557bab12f1859830909b3 /meta/classes/cpan_build.bbclass | |
parent | f57e9daf74d5fbab6c9a3f5e60e1320a0bf0642d (diff) | |
download | poky-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_build.bbclass')
-rw-r--r-- | meta/classes/cpan_build.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass index dd8d5434d5..cc503a424e 100644 --- a/meta/classes/cpan_build.bbclass +++ b/meta/classes/cpan_build.bbclass | |||
@@ -26,8 +26,8 @@ cpan_build_do_configure () { | |||
26 | 26 | ||
27 | perl Build.PL --installdirs vendor \ | 27 | perl Build.PL --installdirs vendor \ |
28 | --destdir ${D} \ | 28 | --destdir ${D} \ |
29 | --install_path lib="${datadir}/perl5" \ | 29 | --install_path lib="${datadir}/perl" \ |
30 | --install_path arch="${libdir}/perl5" \ | 30 | --install_path arch="${libdir}/perl" \ |
31 | --install_path script=${bindir} \ | 31 | --install_path script=${bindir} \ |
32 | --install_path bin=${bindir} \ | 32 | --install_path bin=${bindir} \ |
33 | --install_path bindoc=${mandir}/man1 \ | 33 | --install_path bindoc=${mandir}/man1 \ |