[oe-commits] [openembedded-core] 09/09: cpan_build.bbclass: tell Module::Build the replacement

git at git.openembedded.org git at git.openembedded.org
Mon Jun 4 17:03:33 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit f3925216b06ff7fbe21989210f8eb11e16be6631
Author: Jens Rehsack <rehsack at gmail.com>
AuthorDate: Mon May 28 20:55:09 2018 +0200

    cpan_build.bbclass: tell Module::Build the replacement
    
    Instead of patching Module::Build, maybe Module::Build::Tiny and all other
    similar tools, use the official way to tell them which is the target perl
    on target.
    
    Signed-off-by: Jens Rehsack <sno at netbsd.org>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/cpan_build.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass
index fac074d..9a2ad89 100644
--- a/meta/classes/cpan_build.bbclass
+++ b/meta/classes/cpan_build.bbclass
@@ -30,7 +30,7 @@ cpan_build_do_configure () {
 }
 
 cpan_build_do_compile () {
-        perl Build verbose=1
+        perl Build --perl "${bindir}/perl" verbose=1
 }
 
 cpan_build_do_install () {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list