diff options
-rw-r--r-- | meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb | 15 |
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 | ||
34 | do_patch[postfuncs] += "do_patch_module_build" | 34 | do_patch[postfuncs] += "do_patch_module_build" |
35 | 35 | ||
36 | EXTRA_CPAN_BUILD_FLAGS = "--create_packlist=0" | ||
37 | |||
38 | do_install_append () { | ||
39 | rm -rf ${D}${docdir}/perl/html | ||
40 | } | ||
41 | |||
36 | do_install_ptest() { | 42 | do_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 | ||
45 | RDEPENDS_${PN} += " \ | 58 | RDEPENDS_${PN} += " \ |