diff options
author | Yue Tao <Yue.Tao@windriver.com> | 2014-05-09 16:40:35 +0800 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2014-05-09 10:18:40 -0400 |
commit | b9ad53cccef2d8e695d9459904bac277e0406b89 (patch) | |
tree | 64584ac3880d07d72f3aeb1c6aac67c02120d5ec /meta-networking | |
parent | 2e7f3ce93b2c9864037fba8cc68fde46aafac4b0 (diff) | |
download | meta-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>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb | 4 |
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 | ||
40 | do_configure_prepend() { | ||
41 | export PERLPROG="${bindir}/env perl" | ||
42 | } | ||
43 | |||
40 | do_install_append() { | 44 | do_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 |