openbsd-ports/net/snort/patches/patch-configure
2005-05-24 04:39:05 +00:00

39 lines
1.8 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1 2005/05/24 04:39:05 mjc Exp $
--- configure.orig Wed Mar 31 13:31:57 2004
+++ configure Mon May 23 18:11:16 2005
@@ -6575,20 +6575,20 @@ fi;
# Check whether --enable-flexresp or --disable-flexresp was given.
if test "${enable_flexresp+set}" = set; then
enableval="$enable_flexresp"
- CPPFLAGS="${CPPFLAGS} -DENABLE_RESPONSE `libnet-config --defines --cflags`" LDFLAGS="${LDFLAGS} `libnet-config --libs`"
+ CPPFLAGS="${CPPFLAGS} -DENABLE_RESPONSE `libnet-config-1.0 --defines --cflags`" LDFLAGS="`libnet-config-1.0 --libs` ${LDFLAGS} "
fi;
if test "$enable_flexresp" != "no" -a "$enable_flexresp" = "yes"; then
- if test `libnet-config --cflags | wc -c` = "1"; then
+ if test `libnet-config-1.0 --cflags | wc -c` = "1"; then
CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/sw/include"
LIBNET_CONFIG_BROKEN_CFLAGS=yes
fi
- if test `libnet-config --libs | wc -c` = "1"; then
- { echo "$as_me:$LINENO: WARNING: libnet-config --libs is broken on your system. If you" >&5
-echo "$as_me: WARNING: libnet-config --libs is broken on your system. If you" >&2;}
+ if test `libnet-config-1.0 --libs | wc -c` = "1"; then
+ { echo "$as_me:$LINENO: WARNING: libnet-config-1.0 --libs is broken on your system. If you" >&5
+echo "$as_me: WARNING: libnet-config-1.0 --libs is broken on your system. If you" >&2;}
{ echo "$as_me:$LINENO: WARNING: are using a precompiled package please notify the" >&5
echo "$as_me: WARNING: are using a precompiled package please notify the" >&2;}
{ echo "$as_me:$LINENO: WARNING: maintainer." >&5
@@ -6732,7 +6732,7 @@ echo $ECHO_N "checking for libnet versio
libnet_dir="/usr/include /usr/local/include /sw/include"
fi
else
- libnet_dir=`libnet-config --cflags | cut -dI -f2`
+ libnet_dir=`libnet-config-1.0 --cflags | cut -dI -f2`
fi
LIBNET_INC_DIR=""