7e49c7036e
Forcibly disable mysql support when we don't want it since ulogd's configure script can pick up the host mysql_config thus leading to a build failure. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
34 lines
924 B
Makefile
34 lines
924 B
Makefile
################################################################################
|
|
#
|
|
# ulogd
|
|
#
|
|
################################################################################
|
|
|
|
ULOGD_VERSION = 2.0.4
|
|
ULOGD_SOURCE = ulogd-$(ULOGD_VERSION).tar.bz2
|
|
ULOGD_SITE = http://www.netfilter.org/projects/ulogd/files
|
|
ULOGD_CONF_OPT = --with-dbi=no --with-pgsql=no
|
|
ULOGD_AUTORECONF = YES
|
|
ULOGD_DEPENDENCIES = host-pkgconf \
|
|
libmnl libnetfilter_acct libnetfilter_conntrack libnetfilter_log \
|
|
libnfnetlink
|
|
ULOGD_LICENSE = GPLv2
|
|
ULOGD_LICENSE_FILES = COPYING
|
|
|
|
# DB backends need threads
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
ifeq ($(BR2_PACKAGE_MYSQL),y)
|
|
ULOGD_CONF_OPT += --with-mysql=$(STAGING_DIR)/usr
|
|
ULOGD_DEPENDENCIES += mysql
|
|
else
|
|
ULOGD_CONF_OPT += --with-mysql=no
|
|
endif
|
|
ifeq ($(BR2_PACKAGE_SQLITE),y)
|
|
ULOGD_DEPENDENCIES += sqlite
|
|
endif
|
|
else
|
|
ULOGD_CONF_OPT += --with-mysql=no --without-sqlite
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|