summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-18 10:41:22 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-18 10:41:22 +0000
commit3257c1dacf97f0bcb7239cbe59047eefd7b545a8 (patch)
tree941d4d7f49d91bf266a19200603a42152afda28c
parent514499f319982ecc7b6c9c0d2302f54404ea2a6b (diff)
Fix pmacct and snort dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@923 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/package/Makefile b/package/Makefile
index 9b54af292c..b5573a14e3 100644
--- a/package/Makefile
+++ b/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