From patchwork Wed Feb 26 15:50:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 57975 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4DE11C1B087 for ; Wed, 26 Feb 2025 15:50:42 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.8947.1740585038465080690 for ; Wed, 26 Feb 2025 07:50:38 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 170801516 for ; Wed, 26 Feb 2025 07:50:54 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C17053F673 for ; Wed, 26 Feb 2025 07:50:37 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH v2 19/23] monit: fix autoreconf Date: Wed, 26 Feb 2025 15:50:16 +0000 Message-ID: <20250226155022.1989209-19-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250226155022.1989209-1-ross.burton@arm.com> References: <20250226155022.1989209-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 26 Feb 2025 15:50:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/115671 autoreconf needs to be told where to find macros as the Makefile.am does not do this. Signed-off-by: Ross Burton --- 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