Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/libdill: autoreconf needs host-pkgconf
@ 2026-01-01 18:00 Bernd Kuhls
  2026-01-01 18:00 ` [Buildroot] [PATCH 2/3] package/libdill: update project URL Bernd Kuhls
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Bernd Kuhls @ 2026-01-01 18:00 UTC (permalink / raw)
  To: buildroot; +Cc: Angelo Compagnucci

Fixes error during autoreconf when openssl 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

As it turns out adding host-pkgconf as mandatory dependency fixes the
problem.

Fixes:
https://autobuild.buildroot.net/results/05c/05c6a3f5a9290f1e5e4f62fea13a0f4cb1278c04/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 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
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-01-13 19:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-01 18:00 [Buildroot] [PATCH 1/3] package/libdill: autoreconf needs host-pkgconf Bernd Kuhls
2026-01-01 18:00 ` [Buildroot] [PATCH 2/3] package/libdill: update project URL Bernd Kuhls
2026-01-01 22:32   ` Thomas Petazzoni via buildroot
2026-01-13 19:47   ` Arnout Vandecappelle via buildroot
2026-01-01 18:00 ` [Buildroot] [PATCH 3/3] package/libdill: fix build with gcc-15.x Bernd Kuhls
2026-01-01 22:32 ` [Buildroot] [PATCH 1/3] package/libdill: autoreconf needs host-pkgconf Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox