summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/perl/perl-ptest.inc9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc
index 9dd9b7da57..7152057762 100644
--- a/meta/recipes-devtools/perl/perl-ptest.inc
+++ b/meta/recipes-devtools/perl/perl-ptest.inc
@@ -2,6 +2,9 @@ inherit ptest
2 2
3SRC_URI += "file://run-ptest \ 3SRC_URI += "file://run-ptest \
4 " 4 "
5
6DEBUG_PREFIX_MAP_REGEX = "${@'\\|'.join(d.getVar('DEBUG_PREFIX_MAP').split())}"
7
5do_install_ptest () { 8do_install_ptest () {
6 mkdir -p ${D}${PTEST_PATH} 9 mkdir -p ${D}${PTEST_PATH}
7 sed -e "s:\/usr\/local:${bindir}:g" -i cpan/version/t/* 10 sed -e "s:\/usr\/local:${bindir}:g" -i cpan/version/t/*
@@ -13,7 +16,7 @@ do_install_ptest () {
13 --exclude='win32/config.*' --exclude=plan9 --exclude=README.plan9 --exclude=perlplan9.pod --exclude=Configure \ 16 --exclude='win32/config.*' --exclude=plan9 --exclude=README.plan9 --exclude=perlplan9.pod --exclude=Configure \
14 --exclude=veryclean.sh --exclude=realclean.sh --exclude=getioctlsizes \ 17 --exclude=veryclean.sh --exclude=realclean.sh --exclude=getioctlsizes \
15 --exclude=dl_aix.xs --exclude=sdbm.3 --exclude='cflags.SH' --exclude=makefile.old \ 18 --exclude=dl_aix.xs --exclude=sdbm.3 --exclude='cflags.SH' --exclude=makefile.old \
16 --exclude=miniperl --exclude=generate_uudmap --exclude=patches * | ( cd ${D}${PTEST_PATH} && tar -x ) 19 --exclude=miniperl --exclude=generate_uudmap --exclude=patches --exclude='config.log' * | ( cd ${D}${PTEST_PATH} && tar -x )
17 20
18 ln -sf ${bindir}/perl ${D}${PTEST_PATH}/t/perl 21 ln -sf ${bindir}/perl ${D}${PTEST_PATH}/t/perl
19 22
@@ -21,12 +24,12 @@ do_install_ptest () {
21 find "${D}${PTEST_PATH}" \ 24 find "${D}${PTEST_PATH}" \
22 \( -name '*.PL' -o -name 'myconfig' -o -name 'cflags' -o -name '*.pl' -o -name '*.sh' -o -name '*.pm' \ 25 \( -name '*.PL' -o -name 'myconfig' -o -name 'cflags' -o -name '*.pl' -o -name '*.sh' -o -name '*.pm' \
23 -o -name 'h2xs' -o -name 'h2ph' \ 26 -o -name 'h2xs' -o -name 'h2ph' \
24 -o -name '*.h' -o -name 'config.sh-*' -o -name 'pod2man' -o -name 'pod2text' \) \ 27 -o -name '*.h' -o -name 'config.sh-*' -o -name 'pod2man' -o -name 'pod2text' -o -name 'Makefile.config' \) \
25 -type f -exec sed -i \ 28 -type f -exec sed -i \
26 -e "s,${D},,g" \ 29 -e "s,${D},,g" \
27 -e "s,--sysroot=${STAGING_DIR_HOST},,g" \ 30 -e "s,--sysroot=${STAGING_DIR_HOST},,g" \
28 -e "s,-isystem${STAGING_INCDIR} ,,g" \ 31 -e "s,-isystem${STAGING_INCDIR} ,,g" \
29 -e 's|${DEBUG_PREFIX_MAP}||g' \ 32 -e 's^${DEBUG_PREFIX_MAP_REGEX}^^g' \
30 -e "s,${STAGING_BINDIR_NATIVE}/perl-native/,${bindir}/,g" \ 33 -e "s,${STAGING_BINDIR_NATIVE}/perl-native/,${bindir}/,g" \
31 -e "s,${STAGING_LIBDIR},${libdir},g" \ 34 -e "s,${STAGING_LIBDIR},${libdir},g" \
32 -e "s,${STAGING_BINDIR},${bindir},g" \ 35 -e "s,${STAGING_BINDIR},${bindir},g" \