From 6b1cd362b4dc46cc168472a9d01572aa701f2f46 Mon Sep 17 00:00:00 2001 From: Joe Slater Date: Fri, 25 Aug 2017 15:54:23 -0700 Subject: 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 --- meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-networking/recipes-support/ndisc6') 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 0b5c9e467d..6bc0531b9f 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 -- cgit 1.2.3-korg