From 5f9d65fb460b030597df21bbff94d9cbcb36d321 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 27 Aug 2021 18:23:11 +0200 Subject: [PATCH] package/ipmiutil: avoid the need for autoreconf Build fails since bump to version 3.1.7 in commit 011f31ee244b7fe4621b3f69ca3d7e7b1cfdb5bb because config.h.in is older than aclocal.m4: make[1]: Entering directory '/tmp/instance-4/output-1/build/ipmiutil-3.1.7' (CDPATH="${ZSH_VERSION+.}:" && cd . && autoheader) /bin/bash: autoheader: command not found Fixes: - http://autobuild.buildroot.org/results/2005af881726473f2cda176e90c1e41e4baea67c Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/ipmiutil/ipmiutil.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk index d85b9643f0..4c9de26583 100644 --- a/package/ipmiutil/ipmiutil.mk +++ b/package/ipmiutil/ipmiutil.mk @@ -11,6 +11,12 @@ IPMIUTIL_LICENSE_FILES = COPYING IPMIUTIL_MAKE = $(MAKE1) +# aclocal.m4 is newer than config.h.in. Touch the latter to avoid autoreconf +define IPMIUTIL_TOUCH_CONFIG_H_IN + touch $(@D)/config.h.in +endef +IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN + # forgets to link against libcrypto dependencies breaking static link ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) # tests against distro libcrypto so it might get a false positive when -- 2.30.2