[packages] snort: Don't add host include and libraray paths
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 21 Feb 2010 22:05:35 +0000 (22:05 +0000)
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 21 Feb 2010 22:05:35 +0000 (22:05 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19807 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/snort/patches/010-dont-add-host-paths.patch [new file with mode: 0644]

diff --git a/net/snort/patches/010-dont-add-host-paths.patch b/net/snort/patches/010-dont-add-host-paths.patch
new file mode 100644 (file)
index 0000000..c51c69c
--- /dev/null
@@ -0,0 +1,45 @@
+diff --git a/configure b/configure
+index 205be9c..df159e3 100755
+--- a/configure
++++ b/configure
+@@ -20668,8 +20668,6 @@ cat >>confdefs.h <<\_ACEOF
+ #define PCAP_TIMEOUT_IGNORED
+ _ACEOF
+-
+-    extra_incl=-I/usr/include/pcap
+     ;;
+   *-hpux10*|*-hpux11*)
+@@ -26209,7 +26207,6 @@ if test "x$enable_flexresp" != "xno" -a "x$enable_flexresp" = "xyes"; then
+     fi
+     if test `libnet-config --cflags | wc -c` = "1"; then
+-        CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/sw/include"
+         LIBNET_CONFIG_BROKEN_CFLAGS="yes"
+     fi
+@@ -26220,7 +26217,6 @@ echo "$as_me: WARNING: libnet-config --libs is broken on your system.  If you" >
+ echo "$as_me: WARNING: are using a precompiled package please notify the" >&2;}
+         { echo "$as_me:$LINENO: WARNING: maintainer." >&5
+ echo "$as_me: WARNING: maintainer." >&2;}
+-        LDFLAGS="${LDFLAGS} -L/usr/local/lib -L/sw/lib"
+         LIBS="${LIBS} -lnet"
+     fi
+@@ -26795,7 +26791,6 @@ if test "x$enable_react" != "xno" -a "x$enable_react" = "xyes"; then
+     fi
+     if test `libnet-config --cflags | wc -c` = "1"; then
+-        CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/sw/include"
+         LIBNET_CONFIG_BROKEN_CFLAGS="yes"
+     fi
+@@ -26806,7 +26801,6 @@ echo "$as_me: WARNING: libnet-config --libs is broken on your system.  If you" >
+ echo "$as_me: WARNING: are using a precompiled package please notify the" >&2;}
+         { echo "$as_me:$LINENO: WARNING: maintainer." >&5
+ echo "$as_me: WARNING: maintainer." >&2;}
+-        LDFLAGS="${LDFLAGS} -L/usr/local/lib -L/sw/lib"
+         LIBS="${LIBS} -lnet"
+     fi