aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYue Tao <Yue.Tao@windriver.com>2014-05-09 16:40:35 +0800
committerJoe MacDonald <joe@deserted.net>2014-05-09 10:18:40 -0400
commitb9ad53cccef2d8e695d9459904bac277e0406b89 (patch)
tree64584ac3880d07d72f3aeb1c6aac67c02120d5ec
parent2e7f3ce93b2c9864037fba8cc68fde46aafac4b0 (diff)
downloadmeta-openembedded-b9ad53cccef2d8e695d9459904bac277e0406b89.tar.gz
meta-openembedded-b9ad53cccef2d8e695d9459904bac277e0406b89.tar.bz2
meta-openembedded-b9ad53cccef2d8e695d9459904bac277e0406b89.zip
net-snmp: Using the target perl
Set the PERLPROG to target perl to avoid host contamination. Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
-rw-r--r--meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb
index d21995a9e..f6656ad7d 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb
@@ -37,6 +37,10 @@ EXTRA_OECONF = "--disable-embedded-perl \
--with-defaults \
${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}"
+do_configure_prepend() {
+ export PERLPROG="${bindir}/env perl"
+}
+
do_install_append() {
install -d ${D}${sysconfdir}/snmp
install -d ${D}${sysconfdir}/init.d