[oe] [meta-oe][PATCH 3/5] net-snmp: Reproducibility: Remove PKG_CONFIG paths from net-snmp-config

Douglas Royds douglas.royds at taitradio.com
Tue Nov 20 06:37:16 UTC 2018


PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR point into the net-snmp recipe-sysroot.

Signed-off-by: Douglas Royds <douglas.royds at taitradio.com>
---
 meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
index 089946032..4b1267b3c 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
@@ -119,6 +119,8 @@ do_install_append() {
            -e "s@\([^ ]*--sysroot=[^ ]*\)\1*@@g" \
            -e "s@\([^ ]*--with-libtool-sysroot=[^ ]*\)\1*@@g" \
            -e "s@\([^ ]*--with-install-prefix=[^ ]*\)\1*@@g" \
+           -e "s@\([^ ]*PKG_CONFIG_PATH=[^ ]*\)\1*@@g" \
+           -e "s@\([^ ]*PKG_CONFIG_LIBDIR=[^ ]*\)\1*@@g" \
         -i ${D}${bindir}/net-snmp-config
 
     if [ "${HAS_PERL}" = "1" ]; then
-- 
2.17.1



More information about the Openembedded-devel mailing list