[oe-commits] [meta-openembedded] 16/24: znc: Strip out DEBUG_PREFIX_MAP options and --sysroot from znc.pc

git at git.openembedded.org git at git.openembedded.org
Sun Feb 17 20:22:07 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit f3a80c3ce1487bdf15495dd02809e9df0eeecbd2
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Fri Feb 15 21:56:20 2019 -0800

    znc: Strip out DEBUG_PREFIX_MAP options and --sysroot from znc.pc
    
    This fixes issues e.g.
    ERROR: znc-1.7.1-r0 do_populate_sysroot: QA Issue: znc.pc failed sanity test (tmpdir) in path /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux/znc/1.7.1-r0/sysroot-destdir/usr/lib/pkgconfig [pkgconfig]
    ERROR: znc-1.7.1-r0 do_populate_sysroot: QA staging was broken by the package built above
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-networking/recipes-irc/znc/znc_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-irc/znc/znc_git.bb b/meta-networking/recipes-irc/znc/znc_git.bb
index 8c6979c..728ef87 100644
--- a/meta-networking/recipes-irc/znc/znc_git.bb
+++ b/meta-networking/recipes-irc/znc/znc_git.bb
@@ -30,5 +30,5 @@ do_configure_prepend() {
 }
 
 do_install_append() {
-    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
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list