[Buildroot] [PATCH 1/1] package/ipmitool: fix per-package build

Fabrice Fontaine fontaine.fabrice at gmail.com
Mon Nov 7 17:25:30 UTC 2022


Fix the following per-package build failure raised since commit
82480ee22bdfae6f7d399975722b5c125749d8c7:

configure.ac:44: error: possibly undefined macro: AC_SEARCH_LIBS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

Fixes:
 - http://autobuild.buildroot.org/results/ecf72cd1ebd53f3b3b10f0a24082f9c0ab5d4d12

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 package/ipmitool/ipmitool.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/ipmitool/ipmitool.mk b/package/ipmitool/ipmitool.mk
index ebd8f9b337..b9f60d8151 100644
--- a/package/ipmitool/ipmitool.mk
+++ b/package/ipmitool/ipmitool.mk
@@ -12,6 +12,7 @@ IPMITOOL_LICENSE_FILES = COPYING
 IPMITOOL_CPE_ID_VENDOR = ipmitool_project
 # From git
 IPMITOOL_AUTORECONF = YES
+IPMITOOL_DEPENDENCIES = host-pkgconf
 
 ifeq ($(BR2_PACKAGE_FREEIPMI),y)
 IPMITOOL_DEPENDENCIES += freeipmi
@@ -34,7 +35,7 @@ IPMITOOL_CONF_OPTS += --disable-intf-usb
 endif
 
 ifeq ($(BR2_PACKAGE_IPMITOOL_IPMISHELL),y)
-IPMITOOL_DEPENDENCIES += host-pkgconf readline
+IPMITOOL_DEPENDENCIES += readline
 IPMITOOL_CONF_OPTS += --enable-ipmishell
 else
 IPMITOOL_CONF_OPTS += --disable-ipmishell
-- 
2.35.1




More information about the buildroot mailing list