aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
42 lines
915 B
Makefile
42 lines
915 B
Makefile
################################################################################
|
|
#
|
|
# monit
|
|
#
|
|
################################################################################
|
|
|
|
MONIT_VERSION = 5.7
|
|
MONIT_SITE = http://mmonit.com/monit/dist
|
|
MONIT_LICENSE = AGPLv3 with OpenSSL exception
|
|
MONIT_LICENSE_FILES = COPYING
|
|
#
|
|
# Touching Makefile.am:
|
|
MONIT_AUTORECONF = YES
|
|
|
|
# Missing m4/ directory in the source tree
|
|
define MONIT_M4
|
|
mkdir $(@D)/m4
|
|
endef
|
|
MONIT_POST_PATCH_HOOKS += MONIT_M4
|
|
|
|
MONIT_CONF_ENV = \
|
|
libmonit_cv_setjmp_available=yes \
|
|
libmonit_cv_vsnprintf_c99_conformant=yes
|
|
|
|
MONIT_CONF_OPTS += \
|
|
--without-pam
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
MONIT_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr
|
|
MONIT_DEPENDENCIES += openssl
|
|
else
|
|
MONIT_CONF_OPTS += --without-ssl
|
|
endif
|
|
|
|
ifeq ($(BR2_LARGEFILE),y)
|
|
MONIT_CONF_OPTS += --with-largefiles
|
|
else
|
|
MONIT_CONF_OPTS += --without-largefiles
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|