From: He Zhe Date: Wed, 24 Aug 2016 07:08:16 +0000 (+0800) Subject: perl: Correct perl path for ptest X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~24508 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc372d65bc395290e1b7132908a3b943e1b73144;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git perl: Correct perl path for ptest Substitute /usr/local with ${bindir} Signed-off-by: He Zhe Signed-off-by: Ross Burton --- diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc index bf6fde64a07..d136c5c0e4e 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 \