From ed1217e0686ae0c468eaa7939432a656e9793863 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Sun, 21 Feb 2010 22:05:35 +0000 Subject: [PATCH] snort: Don't add host include and libraray paths SVN-Revision: 19807 --- .../patches/010-dont-add-host-paths.patch | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 net/snort/patches/010-dont-add-host-paths.patch 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 index 000000000..c51c69cc3 --- /dev/null +++ b/net/snort/patches/010-dont-add-host-paths.patch @@ -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 + -- 2.30.2