diff options
| -rw-r--r-- | meta/classes/cpan_build.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass index 5b0ad61b4c..2eb8162314 100644 --- a/meta/classes/cpan_build.bbclass +++ b/meta/classes/cpan_build.bbclass | |||
| @@ -3,6 +3,8 @@ | |||
| 3 | # | 3 | # |
| 4 | inherit cpan-base perlnative | 4 | inherit cpan-base perlnative |
| 5 | 5 | ||
| 6 | EXTRA_CPAN_BUILD_FLAGS ?= "" | ||
| 7 | |||
| 6 | # Env var which tells perl if it should use host (no) or target (yes) settings | 8 | # Env var which tells perl if it should use host (no) or target (yes) settings |
| 7 | export PERLCONFIGTARGET = "${@is_target(d)}" | 9 | export PERLCONFIGTARGET = "${@is_target(d)}" |
| 8 | export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" | 10 | export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" |
| @@ -36,7 +38,8 @@ cpan_build_do_configure () { | |||
| 36 | --install_path script=${bindir} \ | 38 | --install_path script=${bindir} \ |
| 37 | --install_path bin=${bindir} \ | 39 | --install_path bin=${bindir} \ |
| 38 | --install_path bindoc=${mandir}/man1 \ | 40 | --install_path bindoc=${mandir}/man1 \ |
| 39 | --install_path libdoc=${mandir}/man3 | 41 | --install_path libdoc=${mandir}/man3 \ |
| 42 | ${EXTRA_CPAN_BUILD_FLAGS} | ||
| 40 | } | 43 | } |
| 41 | 44 | ||
| 42 | cpan_build_do_compile () { | 45 | cpan_build_do_compile () { |
