summaryrefslogtreecommitdiffstats
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
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 \
37 --with-defaults \ 37 --with-defaults \
38 ${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}" 38 ${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}"
39 39
40do_configure_prepend() {
41 export PERLPROG="${bindir}/env perl"
42}
43
40do_install_append() { 44do_install_append() {
41 install -d ${D}${sysconfdir}/snmp 45 install -d ${D}${sysconfdir}/snmp
42 install -d ${D}${sysconfdir}/init.d 46 install -d ${D}${sysconfdir}/init.d