summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-ptest.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-ptest.inc')
-rw-r--r--meta/recipes-devtools/perl/perl-ptest.inc13
1 files changed, 8 insertions, 5 deletions
diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc
index 98e3361fcc..4b4756118c 100644
--- a/meta/recipes-devtools/perl/perl-ptest.inc
+++ b/meta/recipes-devtools/perl/perl-ptest.inc
@@ -10,12 +10,12 @@ do_install_ptest () {
10 sed -e "s:\/usr\/local:${bindir}:g" -i cpan/version/t/* 10 sed -e "s:\/usr\/local:${bindir}:g" -i cpan/version/t/*
11 sed -e "s:\/opt:\/usr:" -i Porting/add-package.pl 11 sed -e "s:\/opt:\/usr:" -i Porting/add-package.pl
12 sed -e "s:\/local\/gnu\/:\/:" -i hints/cxux.sh 12 sed -e "s:\/local\/gnu\/:\/:" -i hints/cxux.sh
13 tar -c --exclude=try --exclude=a.out --exclude='*.o' --exclude=libperl.so* --exclude=Makefile --exclude=makefile --exclude=hostperl \ 13 tar -c --exclude=try --exclude=a.out --exclude='*.o' --exclude=libperl.so* --exclude=[Mm]akefile --exclude=hostperl \
14 --exclude=cygwin --exclude=os2 --exclude=djgpp --exclude=qnx --exclude=symbian --exclude=haiku \ 14 --exclude=cygwin --exclude=os2 --exclude=djgpp --exclude=qnx --exclude=symbian --exclude=haiku \
15 --exclude=vms --exclude=vos --exclude=NetWare --exclude=amigaos4 --exclude=buildcustomize.pl \ 15 --exclude=vms --exclude=vos --exclude=NetWare --exclude=amigaos4 --exclude=buildcustomize.pl \
16 --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 \
17 --exclude=veryclean.sh --exclude=realclean.sh --exclude=getioctlsizes \ 17 --exclude=veryclean.sh --exclude=realclean.sh --exclude=getioctlsizes \
18 --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=[Mm]akefile.old \
19 --exclude=miniperl --exclude=generate_uudmap --exclude=patches --exclude='config.log' * | ( cd ${D}${PTEST_PATH} && tar -x ) 19 --exclude=miniperl --exclude=generate_uudmap --exclude=patches --exclude='config.log' * | ( cd ${D}${PTEST_PATH} && tar -x )
20 20
21 ln -sf ${bindir}/perl ${D}${PTEST_PATH}/t/perl 21 ln -sf ${bindir}/perl ${D}${PTEST_PATH}/t/perl
@@ -45,9 +45,12 @@ do_install_ptest () {
45 45
46 # Remove files with host-specific configuration for building native binaries 46 # Remove files with host-specific configuration for building native binaries
47 rm ${D}${PTEST_PATH}/Makefile.config ${D}${PTEST_PATH}/xconfig.h ${D}${PTEST_PATH}/xconfig.sh 47 rm ${D}${PTEST_PATH}/Makefile.config ${D}${PTEST_PATH}/xconfig.h ${D}${PTEST_PATH}/xconfig.sh
48
49 # create an empty file that is checked for existence by makerel test
50 touch ${D}${PTEST_PATH}/win32/Makefile
48} 51}
49 52
50python populate_packages_prepend() { 53python populate_packages:prepend() {
51 # Put all *.t files from the lib dir in the ptest package 54 # Put all *.t files from the lib dir in the ptest package
52 # do_split_packages requires a pair of () in the regex, but we have nothing 55 # do_split_packages requires a pair of () in the regex, but we have nothing
53 # to match, so use an empty pair. 56 # to match, so use an empty pair.
@@ -56,8 +59,8 @@ python populate_packages_prepend() {
56 '${PN}-ptest%s', '%s', recursive=True, match_path=True) 59 '${PN}-ptest%s', '%s', recursive=True, match_path=True)
57} 60}
58 61
59RDEPENDS_${PN}-ptest += "${PN}-modules ${PN}-doc sed" 62RDEPENDS:${PN}-ptest += "${PN}-modules ${PN}-doc sed procps-ps"
60 63
61# The perl-ptest package contains Perl internal modules and generating file 64# The perl-ptest package contains Perl internal modules and generating file
62# dependencies for it causes problems. 65# dependencies for it causes problems.
63SKIP_FILEDEPS_${PN}-ptest = '1' 66SKIP_FILEDEPS:${PN}-ptest = '1'