summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-ptest.inc
diff options
context:
space:
mode:
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-devtools/perl/perl-ptest.inc')
-rw-r--r--import-layers/yocto-poky/meta/recipes-devtools/perl/perl-ptest.inc11
1 files changed, 9 insertions, 2 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-ptest.inc b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-ptest.inc
index d136c5c0e..1f549af1b 100644
--- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-ptest.inc
+++ b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-ptest.inc
@@ -20,10 +20,13 @@ do_install_ptest () {
-e "s,${STAGING_BINDIR_NATIVE}/perl-native/,${bindir}/,g" \
-e "s,${STAGING_BINDIR_NATIVE}/,,g" \
-e "s,${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX},${bindir},g" \
- ${D}${PTEST_PATH}/lib/Config.pm
+ ${D}${PTEST_PATH}/lib/Config.pm \
+ ${D}${PTEST_PATH}/cpan/podlators/scripts/pod2man \
+ ${D}${PTEST_PATH}/cpan/podlators/scripts/pod2text
ln -sf ${bindir}/perl ${D}${PTEST_PATH}/t/perl
-
+ # Remove plan9 related stuff
+ rm -rf ${D}${PTEST_PATH}/plan9 ${D}${PTEST_PATH}/README.plan9 ${D}${PTEST_PATH}/pod/perlplan9.pod
}
python populate_packages_prepend() {
@@ -36,3 +39,7 @@ python populate_packages_prepend() {
}
RDEPENDS_${PN}-ptest += "${PN}-modules ${PN}-doc ${PN}-misc sed libssp"
+
+# The perl-ptest package contains Perl internal modules and generating file
+# dependencies for it causes problems.
+SKIP_FILEDEPS_${PN}-ptest = '1'
OpenPOWER on IntegriCloud