From 5b9a32dc7282787ab9d5a09afcb19241d7d600fb Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 30 May 2026 11:10:17 +0200 Subject: [PATCH] package/libdill: autoreconf needs host-pkgconf Buildroot commit 106e2b448c5249aa905aeaa0a5a1d1f87cf8f694 bumped libdill to include an upstream commit: https://github.com/sustrik/libdill/commit/b3b81d2c7bf4daf8a57925ddd40f5b6f13484187 which added PKG_CHECK_MODULES to configure.ac causing an error during autoreconf when openssl, with host-pkgconf added as optional dependency, is not selected: configure.ac:119: error: possibly undefined macro: AC_CHECK_LIB If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:127: error: possibly undefined macro: AC_MSG_ERROR Fixes: https://autobuild.buildroot.net/results/05c/05c6a3f5a9290f1e5e4f62fea13a0f4cb1278c04/ The first build error of this kind occurred on 2022-08-21: https://autobuild.buildroot.net/results/a29/a294492db81b6fd105dac88d8f5c8bc1a222bb8e/ Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle --- package/libdill/libdill.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/libdill/libdill.mk b/package/libdill/libdill.mk index 9dda81d085..bea9aaeecb 100644 --- a/package/libdill/libdill.mk +++ b/package/libdill/libdill.mk @@ -10,6 +10,7 @@ LIBDILL_LICENSE = MIT LIBDILL_LICENSE_FILES = COPYING LIBDILL_INSTALL_STAGING = YES # Fetched from Github, with no configure script +LIBDILL_DEPENDENCIES = host-pkgconf LIBDILL_AUTORECONF = YES ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) @@ -19,7 +20,7 @@ LIBDILL_CONF_OPTS += --disable-threads endif ifeq ($(BR2_PACKAGE_OPENSSL),y) -LIBDILL_DEPENDENCIES += host-pkgconf openssl +LIBDILL_DEPENDENCIES += openssl LIBDILL_CONF_OPTS += --enable-tls else LIBDILL_CONF_OPTS += --disable-tls