fix snort compile

git-svn-id: svn://svn.openwrt.org/openwrt/packages@6688 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-03-24 21:55:13 +00:00
parent 900139d5fc
commit eea695ecc9

View File

@ -114,26 +114,38 @@ endef
ifneq ($(CONFIG_PACKAGE_snort),) ifneq ($(CONFIG_PACKAGE_snort),)
$(eval $(call Compile/Template,basic, \ define Compile/snort
$(call Compile/Template,basic, \
--without-mysql \ --without-mysql \
--without-postgresql \ --without-postgresql \
)) )
$(eval $(call Install/Template,snort,basic)) $(call Install/Template,snort,basic)
endef
endif endif
$(eval $(Compile/snort))
ifneq ($(CONFIG_PACKAGE_snort-mysql),) ifneq ($(CONFIG_PACKAGE_snort-mysql),)
$(eval $(call Compile/Template,mysql, \ define Compile/snort-mysql
$(call Compile/Template,mysql, \
--with-mysql="$(STAGING_DIR)/usr" \ --with-mysql="$(STAGING_DIR)/usr" \
--without-postgresql \ --without-postgresql \
)) )
$(eval $(call Install/Template,snort-mysql,mysql)) $(call Install/Template,snort-mysql,mysql)
endef
endif endif
$(eval $(Compile/snort-mysql))
ifneq ($(CONFIG_PACKAGE_snort-pgsql),) ifneq ($(CONFIG_PACKAGE_snort-pgsql),)
$(eval $(call Compile/Template,pgsql, \ define Compile/snort-pgsql
$(call Compile/Template,pgsql, \
--without-mysql \ --without-mysql \
--with-postgresql="$(STAGING_DIR)/usr" \ --with-postgresql="$(STAGING_DIR)/usr" \
)) )
$(eval $(call Install/Template,snort-pgsql,pgsql)) $(call Install/Template,snort-pgsql,pgsql)
endef
endif endif
$(eval $(Compile/snort-pgsql))
define Build/Configure define Build/Configure
endef endef