diff options
author | Jamie Lenehan <lenehan@twibble.org> | 2006-09-26 07:42:41 +0000 |
---|---|---|
committer | Jamie Lenehan <lenehan@twibble.org> | 2006-09-26 07:42:41 +0000 |
commit | 20ceec866f55b195c18a433a8afe9a962bcdc102 (patch) | |
tree | 8665683c8cb10ecc9a7adc7e470bccd114769863 /classes | |
parent | 2b3c2d418ea9902ac2190fe0f4dba2acbd178fa5 (diff) |
cpan.bbclass: Instead of putting modules into ${libdir}/perl5 put them into
${libdir}/perl5/site_perl/${version} since ${libdir}/perl5 is not part of
the standard INC (search) path for perl and so these modules are not
found by default in the original location. Technically they should go
in vendor_perl instead of site_perl, but that requires changes to all
of the configuration files which is a much more complex change.
Diffstat (limited to 'classes')
-rw-r--r-- | classes/cpan.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass index 78b902f85d..8acc9ab8f8 100644 --- a/classes/cpan.bbclass +++ b/classes/cpan.bbclass @@ -5,7 +5,7 @@ cpan_do_configure () { perl Makefile.PL ${EXTRA_CPANFLAGS} if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then . ${STAGING_DIR}/${TARGET_SYS}/perl/config.sh - sed -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:; s:\(SITEARCHEXP = \).*:\1${sitearchexp}:; s:\(INSTALLVENDORLIB = \).*:\1${D}${libdir}/perl5:; s:\(INSTALLVENDORARCH = \).*:\1${D}${libdir}/perl5:" < Makefile > Makefile.new + sed -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:; s:\(SITEARCHEXP = \).*:\1${sitearchexp}:; s:\(INSTALLVENDORLIB = \).*:\1${D}${libdir}/perl5/site_perl/${version}:; s:\(INSTALLVENDORARCH = \).*:\1${D}${libdir}/perl5/site_perl/${version}:" < Makefile > Makefile.new mv Makefile.new Makefile fi } |