mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-16 14:06:57 +00:00
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 <rhi@pengutronix.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
26 lines
868 B
BlitzBasic
26 lines
868 B
BlitzBasic
SUMMARY = "LDNS is a DNS library that facilitates DNS tool programming"
|
|
HOMEPAGE = "https://nlnetlabs.nl/ldns"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=34330f15b2b4abbbaaa7623f79a6a019"
|
|
|
|
SRC_URI = "https://www.nlnetlabs.nl/downloads/ldns/ldns-${PV}.tar.gz"
|
|
SRC_URI[md5sum] = "166262a46995d9972aba417fd091acd5"
|
|
SRC_URI[sha256sum] = "8ac84c16bdca60e710eea75782356f3ac3b55680d40e1530d7cea474ac208229"
|
|
|
|
DEPENDS = "openssl"
|
|
|
|
inherit autotools-brokensep
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[drill] = "--with-drill,--without-drill"
|
|
|
|
EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR} \
|
|
libtool=${TARGET_PREFIX}libtool"
|
|
|
|
do_install_append() {
|
|
sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
|
|
-e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
|
|
-e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
|
|
-i ${D}${libdir}/pkgconfig/*.pc
|
|
}
|