diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/cpan-base.bbclass | 4 | ||||
-rw-r--r-- | meta/classes/cpan.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/cpan_build.bbclass | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/cpan-base.bbclass b/meta/classes/cpan-base.bbclass index 1d13ff3f08..6cd2aa340f 100644 --- a/meta/classes/cpan-base.bbclass +++ b/meta/classes/cpan-base.bbclass | |||
@@ -2,7 +2,7 @@ | |||
2 | # cpan-base providers various perl related information needed for building | 2 | # cpan-base providers various perl related information needed for building |
3 | # cpan modules | 3 | # cpan modules |
4 | # | 4 | # |
5 | FILES_${PN} += "${libdir}/perl5 ${datadir}/perl5" | 5 | FILES_${PN} += "${libdir}/perl ${datadir}/perl" |
6 | 6 | ||
7 | DEPENDS += "${@["perl", "perl-native"][(bb.data.inherits_class('native', d))]}" | 7 | DEPENDS += "${@["perl", "perl-native"][(bb.data.inherits_class('native', d))]}" |
8 | RDEPENDS += "${@["perl", ""][(bb.data.inherits_class('native', d))]}" | 8 | RDEPENDS += "${@["perl", ""][(bb.data.inherits_class('native', d))]}" |
@@ -27,7 +27,7 @@ def get_perl_version(d): | |||
27 | # Determine where the library directories are | 27 | # Determine where the library directories are |
28 | def perl_get_libdirs(d): | 28 | def perl_get_libdirs(d): |
29 | libdir = bb.data.getVar('libdir', d, 1) | 29 | libdir = bb.data.getVar('libdir', d, 1) |
30 | libdirs = libdir + '/perl5' | 30 | libdirs = libdir + '/perl' |
31 | return libdirs | 31 | return libdirs |
32 | 32 | ||
33 | def is_target(d): | 33 | def is_target(d): |
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 |
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)}" | 13 | export PERL_LIB = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}" |
14 | export PERL_ARCHLIB = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}" | 14 | export PERL_ARCHLIB = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}" |
15 | 15 | ||
16 | cpan_do_configure () { | 16 | cpan_do_configure () { |
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 \ |