When the `httpstats` package config is enabled configure fails with
the error:

> configure: error: Specifying libxml2 installation path is not
> supported, adjust PKG_CONFIG_PATH instead

Drop the explicit path from `--with-libxml2` to solve this issue.

Signed-off-by: Alban Bedel <[email protected]>
---

The relevant change in bind9 (commit 0771dd3be "Make the usage of
libxml2 opaque to the caller") was introduced in 9.15.2 so scarthgap
and kirkstone are also affected. Do I need to send dedicated patches
or is there some other way to get the patch picked up for these
branches?
---
 meta/recipes-connectivity/bind/bind_9.20.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/bind/bind_9.20.1.bb 
b/meta/recipes-connectivity/bind/bind_9.20.1.bb
index 71d2324b841b..9c68c918e405 100644
--- a/meta/recipes-connectivity/bind/bind_9.20.1.bb
+++ b/meta/recipes-connectivity/bind/bind_9.20.1.bb
@@ -34,7 +34,7 @@ inherit autotools update-rc.d systemd useradd pkgconfig 
multilib_header update-a

 # PACKAGECONFIGs readline and libedit should NOT be set at same time
 PACKAGECONFIG ?= "readline"
-PACKAGECONFIG[httpstats] = 
"--with-libxml2=${STAGING_DIR_HOST}${prefix},--without-libxml2,libxml2"
+PACKAGECONFIG[httpstats] = "--with-libxml2,--without-libxml2,libxml2"
 PACKAGECONFIG[readline] = "--with-readline=readline,,readline"
 PACKAGECONFIG[libedit] = "--with-readline=libedit,,libedit"
 PACKAGECONFIG[dns-over-http] = "--enable-doh,--disable-doh,nghttp2"
--
2.34.1

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#204372): 
https://lists.openembedded.org/g/openembedded-core/message/204372
Mute This Topic: https://lists.openembedded.org/mt/108389452/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to