diff options
Diffstat (limited to 'meta/classes/cpan.bbclass')
-rw-r--r-- | meta/classes/cpan.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass index 853abfd1b3..78b902f85d 100644 --- a/meta/classes/cpan.bbclass +++ b/meta/classes/cpan.bbclass | |||
@@ -1,7 +1,8 @@ | |||
1 | FILES_${PN} += '${libdir}/perl5' | 1 | FILES_${PN} += '${libdir}/perl5' |
2 | EXTRA_CPANFLAGS = "" | ||
2 | 3 | ||
3 | cpan_do_configure () { | 4 | cpan_do_configure () { |
4 | perl Makefile.PL | 5 | perl Makefile.PL ${EXTRA_CPANFLAGS} |
5 | if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then | 6 | if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then |
6 | . ${STAGING_DIR}/${TARGET_SYS}/perl/config.sh | 7 | . ${STAGING_DIR}/${TARGET_SYS}/perl/config.sh |
7 | 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 | 8 | 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 |