mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
monit: fix autoreconf
autoreconf needs to be told where to find macros as the Makefile.am does not do this. Signed-off-by: Ross Burton <ross.burton@arm.com>
This commit is contained in:
parent
b3cb662fe3
commit
3083eb9f27
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user