$OpenBSD: patch-configure,v 1.2 2006/02/04 13:15:42 david Exp $
--- configure.orig	Mon Oct 17 08:50:23 2005
+++ configure	Tue Jan  3 23:41:30 2006
@@ -7884,20 +7884,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
@@ -8069,7 +8069,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=""
