aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2017-08-25 15:54:23 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-31 14:59:52 +0200
commit6b1cd362b4dc46cc168472a9d01572aa701f2f46 (patch)
treee1e3ad52c2377eb65f11e74f5440ce8ae654b812 /meta-networking/recipes-support
parent20c367ee8f31aed104b9b70e8632f7b1243908c6 (diff)
downloadmeta-openembedded-contrib-6b1cd362b4dc46cc168472a9d01572aa701f2f46.tar.gz
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@windriver.com>
Diffstat (limited to 'meta-networking/recipes-support')
-rw-r--r--meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb5
1 files changed, 5 insertions, 0 deletions
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