From: Yue Tao <[email protected]> Set the PERLPROG to target perl to avoid host contamination.
Signed-off-by: Yue Tao <[email protected]> Signed-off-by: Roy Li <[email protected]> --- meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb | 4 ++++ 1 file changed, 4 insertions(+) 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 d21995a..f6656ad 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 -- 1.7.10.4 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
