09d0f1d338
linknx has support for SMTP via libesmtp, however there's no clean way to specify where libesmtp-config lives. So when libesmtp is built it finds it via the headers and is automatically enabled, but it fails to get the appropiate link line from libesmtp-config because it's not found. Fix it by forcibly disabling it. If someone is interested in working with upstream about this an option like --with-libcurl should be implemented in configure. Solves: http://autobuild.buildroot.net/results/90ebb383d7a2d7bdf09ffac65e2504da7b6d19f5/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
31 lines
862 B
Makefile
31 lines
862 B
Makefile
#############################################################
|
|
#
|
|
# linknx
|
|
#
|
|
#############################################################
|
|
|
|
LINKNX_VERSION = 0.0.1.30
|
|
LINKNX_SITE = http://downloads.sourceforge.net/project/linknx/linknx/linknx-$(LINKNX_VERSION)
|
|
LINKNX_LICENSE = GPLv2+
|
|
LINKNX_INSTALL_STAGING = YES
|
|
LINKNX_CONF_OPT = --without-lua --without-log4cpp --without-pth-test \
|
|
--with-pth=$(STAGING_DIR)/usr --disable-smtp
|
|
|
|
LINKNX_DEPENDENCIES = libpthsem
|
|
|
|
ifeq ($(BR2_PACKAGE_MYSQL_CLIENT),y)
|
|
LINKNX_CONF_OPT += --with-mysql=$(STAGING_DIR)/usr/bin/mysql_config
|
|
LINKNX_DEPENDENCIES = mysql_client
|
|
else
|
|
LINKNX_CONF_OPT += --without-mysql
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
|
LINKNX_CONF_OPT += --with-libcurl=$(STAGING_DIR)/usr/bin/curl-config
|
|
LINKNX_DEPENDENCIES += libcurl
|
|
else
|
|
LINKNX_CONF_OPT += --without-libcurl
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|