[oe-commits] Yue Tao : net-snmp: Using the target perl

git at git.openembedded.org git at git.openembedded.org
Mon May 12 11:30:25 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: b9ad53cccef2d8e695d9459904bac277e0406b89
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=b9ad53cccef2d8e695d9459904bac277e0406b89

Author: Yue Tao <Yue.Tao at windriver.com>
Date:   Fri May  9 16:40:35 2014 +0800

net-snmp: Using the target perl

Set the PERLPROG to target perl to avoid host contamination.

Signed-off-by: Yue Tao <Yue.Tao at windriver.com>
Signed-off-by: Roy Li <rongqing.li at windriver.com>
Signed-off-by: Joe MacDonald <joe at deserted.net>

---

 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



More information about the Openembedded-commits mailing list