Set the PERLPROG to target perl to avoid host contamination.
(From meta-openembedded rev:
b9ad53cccef2d8e695d9459904bac277e0406b89)
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>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
--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