diff mbox series

[oe,meta-networking,V2] snort: Strip out DEBUG_PREFIX_MAP options and --sysroot

Message ID 20190216061653.19586-1-raj.khem@gmail.com
State Accepted
Commit b1ccca4bacda568062804c7c90aeb15e704c2eb9
Headers show
Series [oe,meta-networking,V2] snort: Strip out DEBUG_PREFIX_MAP options and --sysroot | expand

Commit Message

Khem Raj Feb. 16, 2019, 6:16 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
V2: Consider -fmacro-prefix-map independently

 meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb b/meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb
index a99138d3d4..c2eb95fe73 100644
--- a/meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb
+++ b/meta-networking/recipes-connectivity/snort/snort_2.9.11.1.bb
@@ -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|-fdebug-prefix-map[^ ]*||g; s|-fmacro-prefix-map[^ ]*||g; s|${STAGING_DIR_TARGET}||g' ${D}${libdir}/pkgconfig/*.pc
 }
 
 FILES_${PN} += " \