Skip to contentSkip to conversation

snort: Strip out DEBUG_PREFIX_MAP options and --sysroot

PATCH Superseded Khem Raj 1 participant 1 message Feb 16, 2019

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 snort: Strip out DEBUG_PREFIX_MAP options and --sysroot

---
 meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb +1 -1
index a99138d3d4..29581afe1b 100644
@@ -72,7 +72,7 @@ do_install_append() {
     mkdir -p ${D}${localstatedir}/log/snort
     install -d ${D}/var/log/snort
 
-    sed -i 's/-fdebug-prefix-map[^ ]*//g; s#${STAGING_DIR_TARGET}##g' ${D}${libdir}/pkgconfig/*.pc
+    sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g' ${D}${libdir}/pkgconfig/*.pc
 }
 
 FILES_${PN} += " \
Signature · 1 line
2.20.1