summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-18 10:41:22 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-18 10:41:22 +0000
commit147e581a9016d67c7f3533fd90ce47db5dbb6cfd (patch)
tree12f55a8564833f2b96999ecb061cd349c1203545 /openwrt
parente66ed653928f4422165045fc49897c86941bbe1a (diff)
downloadmtk-20170518-147e581a9016d67c7f3533fd90ce47db5dbb6cfd.zip
mtk-20170518-147e581a9016d67c7f3533fd90ce47db5dbb6cfd.tar.gz
mtk-20170518-147e581a9016d67c7f3533fd90ce47db5dbb6cfd.tar.bz2
Fix pmacct and snort dependencies
SVN-Revision: 923
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/package/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile
index 9b54af2..b5573a1 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