aboutsummaryrefslogtreecommitdiffstats
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 15:22:57 +0200
commit0480ee1ff01f819470371d201b1ff33db099f16e (patch)
treeaedcd4dddd15e6c8427cf3283905aff5c2dc4b5c
parenta8b455414d24f3b5254ee449368240dac4fb0489 (diff)
downloadmeta-openembedded-contrib-0480ee1ff01f819470371d201b1ff33db099f16e.tar.gz
meta-openembedded-contrib-0480ee1ff01f819470371d201b1ff33db099f16e.tar.bz2
meta-openembedded-contrib-0480ee1ff01f819470371d201b1ff33db099f16e.zip
enscript 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>
-rw-r--r--meta-oe/recipes-extended/enscript/enscript_1.6.6.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb b/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb
index 2b6d14e6c1..be8c5c1c4d 100644
--- a/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb
+++ b/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb
@@ -21,4 +21,10 @@ EXTRA_OECONF += "PERL='${USRBINPATH}/env perl'"
SRC_URI[md5sum] = "3acc242b829adacabcaf28533f049afd"
SRC_URI[sha256sum] = "6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb"
+# We do not run perl during the build, but only use it on the target.
+do_configure_prepend() {
+ export PERL="/usr/bin/perl"
+}
+
RDEPENDS_${PN} = "perl"
+