From 341fcf678c4ab51390d2f8e8b18e3109773164df Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Tue, 24 Aug 2021 16:21:01 +0200 Subject: ldns: fix override syntax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 2e794f33a43d71bb9861 cherry-picked a fix from master, which used the new override syntax, which was introduced in poky commit 2abf8a699edd513405be (2021-07-25, "bitbake: bitbake: Switch to using new override syntax"). However, this change was merged after 3.4_M2 and is not part of hardknott, so bitbake complains about the new syntax: ERROR: ParseError at …/meta-openembedded/meta-oe/recipes-devtools/ldns/ldns_1.7.1.bb:20: unparsed line: 'do_install:append() {' Revert to the old syntax on the hardknott branch for now. Fixes: 2e794f33a43d71bb9861 (2021-08-09, "ldns: fix QA Issue after LDFLAGS change") Signed-off-by: Roland Hieber Signed-off-by: Armin Kuster --- meta-oe/recipes-devtools/ldns/ldns_1.7.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/ldns/ldns_1.7.1.bb b/meta-oe/recipes-devtools/ldns/ldns_1.7.1.bb index 2ce669154a..8aa2eeabe1 100644 --- a/meta-oe/recipes-devtools/ldns/ldns_1.7.1.bb +++ b/meta-oe/recipes-devtools/ldns/ldns_1.7.1.bb @@ -17,7 +17,7 @@ PACKAGECONFIG[drill] = "--with-drill,--without-drill" EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR} \ libtool=${TARGET_PREFIX}libtool" -do_install:append() { +do_install_append() { sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \ -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \ -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \ -- cgit 1.2.3-korg