summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb15
1 files changed, 14 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb b/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb
index b1967c7b03..a6fd7b1c07 100644
--- a/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb
+++ b/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb
@@ -33,13 +33,26 @@ do_patch_module_build () {
33 33
34do_patch[postfuncs] += "do_patch_module_build" 34do_patch[postfuncs] += "do_patch_module_build"
35 35
36EXTRA_CPAN_BUILD_FLAGS = "--create_packlist=0"
37
38do_install_append () {
39 rm -rf ${D}${docdir}/perl/html
40}
41
36do_install_ptest() { 42do_install_ptest() {
37 cp -r ${B}/inc ${D}${PTEST_PATH} 43 cp -r ${B}/inc ${D}${PTEST_PATH}
38 cp -r ${B}/blib ${D}${PTEST_PATH} 44 cp -r ${B}/blib ${D}${PTEST_PATH}
39 cp -r ${B}/_build ${D}${PTEST_PATH} 45 cp -r ${B}/_build ${D}${PTEST_PATH}
40 cp -r ${B}/lib ${D}${PTEST_PATH} 46 cp -r ${B}/lib ${D}${PTEST_PATH}
41 chown -R root:root ${D}${PTEST_PATH} 47 chown -R root:root ${D}${PTEST_PATH}
42 sed -i -e "s,'perl' => .*,'perl' => '/usr/bin/perl'\,,g" ${D}${PTEST_PATH}/_build/build_params 48 sed -i -e "s,'perl' => .*,'perl' => '/usr/bin/perl'\,,g" \
49 -e "s,${STAGING_BINDIR_NATIVE}/perl-native/\.\.,${bindir}/,g" \
50 -e "s,${S},,g" \
51 -e "s,${D},,g" \
52 ${D}${PTEST_PATH}/_build/build_params \
53 ${D}${PTEST_PATH}/_build/runtime_params
54 rm -rf ${D}${PTEST_PATH}/blib/libhtml/site/lib/Module/
55 rm -rf ${D}${PTEST_PATH}/_build/magicnum
43} 56}
44 57
45RDEPENDS_${PN} += " \ 58RDEPENDS_${PN} += " \