net-snmp: fix build with dash
PATCH 1/1 net-snmp: fix build with dash
* fixes:
| make[1]: Leaving directory 'net-snmp/5.9-r0/net-snmp-5.9/mibs'
| sed: can't read net-snmp/5.9-r0/image/usr/lib/pkgconfig/{netsnmp-agent.pc,netsnmp.pc}: No such file or directory
| WARNING: exit code 2 from a shell command.Signed-off-by Martin Jansa <[email protected]>
--- meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb +1 -1
@@ -133,7 +133,7 @@ do_install_append() { -i ${D}${bindir}/net-snmp-config sed -e 's@${STAGING_DIR_HOST}@@g' \ - -i ${D}${libdir}/pkgconfig/{netsnmp-agent.pc,netsnmp.pc} + -i ${D}${libdir}/pkgconfig/netsnmp*.pc if [ "${HAS_PERL}" = "1" ]; then sed -e "s@^NSC_INCLUDEDIR=.*@NSC_INCLUDEDIR=\$\{includedir\}@g" \
Signature · 1 line
2.27.0