From e200c00f0a443fbdbfb54b1c20955a1e35463af8 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 3 Feb 2021 02:31:49 +0100 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb index ac78ed2d5f..6a4d5b1eff 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb @@ -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" \