mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
snort: fix pcap include directory
Build was overriding openwrt pcap include directory. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
This commit is contained in:
14
net/snort/patches/002-fix_include.patch
Normal file
14
net/snort/patches/002-fix_include.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -67,6 +67,11 @@ case "$host" in
|
||||
AC_DEFINE([SUNOS],[1],[Define if SunOS])
|
||||
sunos4="yes"
|
||||
;;
|
||||
+ *-openwrt*)
|
||||
+ linux="yes"
|
||||
+ AC_DEFINE([LINUX],[1],[Define if Linux])
|
||||
+ AC_SUBST(extra_incl)
|
||||
+ ;;
|
||||
*-linux*)
|
||||
linux="yes"
|
||||
AC_DEFINE([LINUX],[1],[Define if Linux])
|
||||
Reference in New Issue
Block a user