mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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>
This commit is contained in:
committed by
Saul Wold
parent
f57e9daf74
commit
83796edd29
@@ -26,8 +26,8 @@ cpan_build_do_configure () {
|
||||
|
||||
perl Build.PL --installdirs vendor \
|
||||
--destdir ${D} \
|
||||
--install_path lib="${datadir}/perl5" \
|
||||
--install_path arch="${libdir}/perl5" \
|
||||
--install_path lib="${datadir}/perl" \
|
||||
--install_path arch="${libdir}/perl" \
|
||||
--install_path script=${bindir} \
|
||||
--install_path bin=${bindir} \
|
||||
--install_path bindoc=${mandir}/man1 \
|
||||
|
||||
Reference in New Issue
Block a user