From 02c24e2b9f5aa186b0f0e6fb2cb0fdf839f22ddd Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 19 Mar 2022 01:42:23 -0700 Subject: [PATCH] monit: Fix build with libtool 2.4.7 Delete old m4 macros, so autoreconf can repopulate it. Fixes libtool: Version mismatch error. This is libtool 2.4.7, but the libtool: definition of this LT_INIT comes from libtool 2.4.6. libtool: You should recreate aclocal.m4 with macros from libtool 2.4.7 libtool: and run autoconf again. Signed-off-by: Khem Raj --- meta-oe/recipes-support/monit/monit_5.31.0.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-oe/recipes-support/monit/monit_5.31.0.bb b/meta-oe/recipes-support/monit/monit_5.31.0.bb index fa51e05418..2b5e89420c 100644 --- a/meta-oe/recipes-support/monit/monit_5.31.0.bb +++ b/meta-oe/recipes-support/monit/monit_5.31.0.bb @@ -38,6 +38,10 @@ INITSCRIPT_PACKAGES = "${PN}" INITSCRIPT_NAME:${PN} = "monit" INITSCRIPT_PARAMS:${PN} = "defaults 89" +do_configure:prepend() { + rm -rf ${S}/m4/* +} + do_install:append() { # Configuration file