<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Bill,<br>
<br>
Sorry that i just notice this email, sorry for the late reply.<br>
<br>
I made this patch based on the following two points:<br>
1. Please see commit 467eb93f and 84a39786, there has the following
code in files automake_1.15.bb and autoconf.inc:<br>
CACHED_CONFIGUREVARS += "ac_cv_path_PERL=${USRBINPATH}/perl"<br>
2. The familiar modifications for other files are accepted by
oe-core, like gobject-introspection groff texi2html quilt and so
on...<br>
<br>
Thanks,<br>
Zhenbo<br>
<br>
<br>
<div class="moz-cite-prefix">On 2016年08月31日 22:42, Bill Randle
wrote:<br>
</div>
<blockquote
cite="mid:CA+n--H_aSwgXXtNj8VJO3JxDs0zC5RiOXRAqLp=nL8Bpp16U0g@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">Under what conditions is the explicit path to
/usr/bin/perl required? Just before your added code, it creates
a symlink from the installed perl location to the "t" directory
where the tests are run. What if the perl that was built was an
alternate version and installed in /usr/local/bin?
<div><br>
</div>
<div> -Bill</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Aug 30, 2016 at 10:37 PM,
Zhenbo Gao <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:zhenbo.gao@windriver.com" target="_blank">zhenbo.gao@windriver.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">some files
from perl-ptest depends on perl, which is located at
/usr/bin/<br>
<br>
Signed-off-by: Zhenbo Gao <<a moz-do-not-send="true"
href="mailto:zhenbo.gao@windriver.com">zhenbo.gao@windriver.com</a>><br>
---<br>
meta/recipes-devtools/perl/<wbr>perl-ptest.inc | 6 ++++++<br>
1 file changed, 6 insertions(+)<br>
<br>
diff --git a/meta/recipes-devtools/perl/<wbr>perl-ptest.inc
b/meta/recipes-devtools/perl/<wbr>perl-ptest.inc<br>
index d136c5c..94e40e6 100644<br>
--- a/meta/recipes-devtools/perl/<wbr>perl-ptest.inc<br>
+++ b/meta/recipes-devtools/perl/<wbr>perl-ptest.inc<br>
@@ -24,6 +24,12 @@ do_install_ptest () {<br>
<br>
ln -sf ${bindir}/perl ${D}${PTEST_PATH}/t/perl<br>
<br>
+ # perl is located at /usr/bin/<br>
+ p='^#![/.]*perl'<br>
+ files=`grep -E ${p} ${D} -nr | grep -v -E
'Binary|win32' | cut -d ':' -f 1`<br>
+ for f in ${files}; do<br>
+ sed -i -e "s:${p}:#! ${USRBINPATH}/perl:g"
${f}<br>
+ done<br>
}<br>
<br>
python populate_packages_prepend() {<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.9.1<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a moz-do-not-send="true"
href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a moz-do-not-send="true"
href="http://lists.openembedded.org/mailman/listinfo/openembedded-core"
rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>