autoreconf needs to be told where to find macros as the Makefile.am does
not do this.

Signed-off-by: Ross Burton <ross.bur...@arm.com>
---
 meta-oe/recipes-support/monit/monit_5.34.4.bb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/meta-oe/recipes-support/monit/monit_5.34.4.bb 
b/meta-oe/recipes-support/monit/monit_5.34.4.bb
index 349548e31e..c0f1d1fd7c 100644
--- a/meta-oe/recipes-support/monit/monit_5.34.4.bb
+++ b/meta-oe/recipes-support/monit/monit_5.34.4.bb
@@ -20,6 +20,9 @@ SRC_URI[sha256sum] = 
"ef607cfaabfd3767d40b9b9e32032f748beebc4d686831f6111e0e68fb
 DEPENDS = "zlib bison-native libnsl2 flex-native openssl virtual/crypt"
 
 inherit autotools-brokensep systemd update-rc.d
+# brokensep because | ../../monit-5.34.4/libmonit/src/util/Str.c:26:10: fatal 
error: Config.h: No such file or directory
+
+EXTRA_AUTORECONF += "-I config"
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}"
 PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam"
@@ -38,10 +41,6 @@ INITSCRIPT_PACKAGES = "${PN}"
 INITSCRIPT_NAME:${PN} = "monit"
 INITSCRIPT_PARAMS:${PN} = "defaults 89"
 
-do_configure:prepend() {
-    rm -rf ${S}/m4/*
-}
-
 do_install:append() {
 
     # Configuration file
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115671): 
https://lists.openembedded.org/g/openembedded-devel/message/115671
Mute This Topic: https://lists.openembedded.org/mt/111398047/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to