[oe-commits] [meta-openembedded] 18/54: ndisc6: specify target location of perl

git at git.openembedded.org git at git.openembedded.org
Tue Aug 29 14:35:48 UTC 2017


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

martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 1b449b33f6801ecf04e5be659883880b050ecdde
Author: Joe Slater <jslater at windriver.com>
AuthorDate: Fri Aug 25 15:54:23 2017 -0700

    ndisc6: specify target location of perl
    
    configure finds the host perl, so we do not let it look
    by setting PERL in the environment.
    
    Signed-off-by: Joe Slater <jslater at windriver.com>
---
 meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb b/meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb
index 0b5c9e4..6bc0531 100644
--- a/meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb
+++ b/meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb
@@ -49,6 +49,11 @@ or IPv4."
 DESCRITPION_${PN}-rdnssd       = "Daemon to autoconfigure the list of DNS \
 servers through slateless IPv6 autoconfiguration."
 
+# We do not run perl during the build, but only use it on the target.
+do_configure_prepend() {
+    export PERL="/usr/bin/perl"
+}
+
 do_install_append () {
     rm -rf ${D}${localstatedir}
     # Enable SUID bit for applications that need it

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


More information about the Openembedded-commits mailing list