From 815f88eb4a7e1137f0efce6cb9248fec16fdef93 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Wed, 18 May 2005 10:41:22 +0000 Subject: [PATCH] Fix pmacct and snort dependencies SVN-Revision: 923 --- openwrt/package/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile index 9b54af292c..b5573a14e3 100644 --- a/openwrt/package/Makefile +++ b/openwrt/package/Makefile @@ -144,9 +144,16 @@ siproxd-compile: libosip2-compile sipsak-compile: openssl-compile lighttpd-compile: openssl-compile pcre-compile osiris-compile: openssl-compile -pmacct-compile: libpcap-compile freeradius-compile: libtool-compile mysql-compile openldap-compile openssl-compile postgresql-compile +pmacct-compile: libpcap-compile +ifneq ($(BR2_PACKAGE_PMACCT_MYSQL),) +pmacct-compile: mysql-compile +endif +ifneq ($(BR2_PACKAGE_PMACCT_PGSQL),) +pmacct-compile: postgresql-compile +endif + snort-compile: libnet-compile libpcap-compile pcre-compile ifeq ($(BR2_PACKAGE_SNORT_MYSQL),y) snort-compile: mysql-compile @@ -154,6 +161,9 @@ endif ifeq ($(BR2_PACKAGE_SNORT_PGSQL),y) snort-compile: postgresql-compile endif +ifeq ($(BR2_PACKAGE_SNORT_ENABLE_INLINE),y) +snort-compile: iptables-compile +endif sdk-compile: $(DEV_LIBS_COMPILE) $(SDK_DEFAULT_COMPILE) openwrt-install $(patsubst %,%-prepare,$(package-y) $(package-m) $(package-)): linux-install -- 2.30.2