]> code.ossystems Code Review - openembedded-core.git/commit
cpan.bbclass: Fix config error while patches to Makefile.PL
authorXin Ouyang <Xin.Ouyang@windriver.com>
Thu, 31 May 2012 07:46:12 +0000 (15:46 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Jun 2012 21:50:01 +0000 (22:50 +0100)
commit7c99105d70a16aa9e42429224abed28743e627b2
tree772e57af874b8c05800ad63ded96fd90843f1310
parente3113827810e98eb1b012f0b280fb917199704c1
cpan.bbclass: Fix config error while patches to Makefile.PL

If there is a patch to Makefile.PL, a Makefile.PL but no Makefile
will be placed in ${B}/.pc/xxx.patch/ after do_patch.
And no Makefile will be generated for *this* Makefile.PL.
While do_configure, the original code tries to sed Makefiles
matching with each Makefile.PL in {B}, so this would fail.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
meta/classes/cpan.bbclass