diff options
author | douglas.royds <douglas.royds@taitradio.com> | 2018-11-21 13:52:17 +1300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-11-26 09:38:14 -0800 |
commit | e3151ee00abf87a26c63140cd2d2d70d062b28a0 (patch) | |
tree | be0a407238784db2ad2db8040ada16be56c1061c /meta-networking/recipes-protocols | |
parent | 231fb5d1a437bc028ae626f37a455dac9aacaf28 (diff) | |
download | meta-openembedded-e3151ee00abf87a26c63140cd2d2d70d062b28a0.tar.gz |
net-snmp: Reproducibility: Remove PKG_CONFIG paths from net-snmp-config
PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR point into the net-snmp recipe-sysroot.
Careful not to trim trailing quotes from the CFLAGS
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols')
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 12 |
1 files changed, 7 insertions, 5 deletions
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..03fe24bdd 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 | |||
@@ -114,11 +114,13 @@ do_install_append() { | |||
114 | install -m 0644 ${WORKDIR}/snmptrapd.service ${D}${systemd_unitdir}/system | 114 | install -m 0644 ${WORKDIR}/snmptrapd.service ${D}${systemd_unitdir}/system |
115 | sed -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \ | 115 | sed -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \ |
116 | -i ${D}${bindir}/net-snmp-create-v3-user | 116 | -i ${D}${bindir}/net-snmp-create-v3-user |
117 | sed -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \ | 117 | sed -e 's@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g' \ |
118 | -e "s@\([^ ]*-fdebug-prefix-map=[^ ]*\)\1*@@g" \ | 118 | -e 's@\([^ ]*-fdebug-prefix-map=[^ "]*\)\1*@@g' \ |
119 | -e "s@\([^ ]*--sysroot=[^ ]*\)\1*@@g" \ | 119 | -e 's@\([^ ]*--sysroot=[^ "]*\)\1*@@g' \ |
120 | -e "s@\([^ ]*--with-libtool-sysroot=[^ ]*\)\1*@@g" \ | 120 | -e 's@\([^ ]*--with-libtool-sysroot=[^ "]*\)\1*@@g' \ |
121 | -e "s@\([^ ]*--with-install-prefix=[^ ]*\)\1*@@g" \ | 121 | -e 's@\([^ ]*--with-install-prefix=[^ "]*\)\1*@@g' \ |
122 | -e 's@\([^ ]*PKG_CONFIG_PATH=[^ "]*\)\1*@@g' \ | ||
123 | -e 's@\([^ ]*PKG_CONFIG_LIBDIR=[^ "]*\)\1*@@g' \ | ||
122 | -i ${D}${bindir}/net-snmp-config | 124 | -i ${D}${bindir}/net-snmp-config |
123 | 125 | ||
124 | if [ "${HAS_PERL}" = "1" ]; then | 126 | if [ "${HAS_PERL}" = "1" ]; then |