c5832382a1
Configuration fails for the monit package, with the following error. checking for SSL library directory... Not found Couldn't find your SSL library files. Use --with-ssl-lib-dir option to fix this problem or disable the SSL support with --without-ssl Tweak the monit configuration command line so that openssl is found. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
31 lines
630 B
Makefile
31 lines
630 B
Makefile
#############################################################
|
|
#
|
|
# monit
|
|
#
|
|
#############################################################
|
|
|
|
MONIT_VERSION = 5.4
|
|
MONIT_SITE = http://mmonit.com/monit/dist/
|
|
|
|
MONIT_CONF_ENV = \
|
|
libmonit_cv_setjmp_available=yes \
|
|
libmonit_cv_vsnprintf_c99_conformant=yes
|
|
|
|
MONIT_CONF_OPT += \
|
|
--without-pam
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
MONIT_CONF_OPT += --with-ssl=$(STAGING_DIR)/usr
|
|
MONIT_DEPENDENCIES += openssl
|
|
else
|
|
MONIT_CONF_OPT += --without-ssl
|
|
endif
|
|
|
|
ifeq ($(BR2_LARGEFILE),y)
|
|
MONIT_CONF_OPT += --with-largefiles
|
|
else
|
|
MONIT_CONF_OPT += --without-largefiles
|
|
endif
|
|
|
|
$(eval $(call AUTOTARGETS))
|