summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/perl/perl-ptest.inc
diff options
context:
space:
mode:
authorHe Zhe <zhe.he@windriver.com>2016-08-24 15:08:16 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-25 23:02:46 +0100
commitbc372d65bc395290e1b7132908a3b943e1b73144 (patch)
treed4fddefa8fb2a0a9aa9243e07364bce3aaa9806e /meta/recipes-devtools/perl/perl-ptest.inc
parentd3f6df98318f0751948041a129faed1bd0f7a7c6 (diff)
downloadopenembedded-core-bc372d65bc395290e1b7132908a3b943e1b73144.tar.gz
openembedded-core-bc372d65bc395290e1b7132908a3b943e1b73144.tar.bz2
openembedded-core-bc372d65bc395290e1b7132908a3b943e1b73144.zip
perl: Correct perl path for ptest
Substitute /usr/local with ${bindir} Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/perl/perl-ptest.inc')
-rw-r--r--meta/recipes-devtools/perl/perl-ptest.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc
index bf6fde64a0..d136c5c0e4 100644
--- a/meta/recipes-devtools/perl/perl-ptest.inc
+++ b/meta/recipes-devtools/perl/perl-ptest.inc
@@ -5,6 +5,7 @@ SRC_URI += "file://run-ptest \
do_install_ptest () {
mkdir -p ${D}${PTEST_PATH}
+ sed -e "s:\/usr\/local:${bindir}:g" -i cpan/version/t/*
sed -e "s:\/opt:\/usr:" -i Porting/add-package.pl
sed -e "s:\/local\/gnu\/:\/:" -i hints/cxux.sh
tar -c --exclude=\*.o --exclude=libperl.so --exclude=Makefile --exclude=makefile --exclude=hostperl \