d4f5003
--- net-snmp-5.4.1/configure.mnttab.orig	2007-07-27 19:04:19.000000000 +0200
d4f5003
+++ net-snmp-5.4.1/configure.mnttab	2007-08-07 13:32:45.000000000 +0200
d4f5003
@@ -27930,7 +27930,7 @@ if test "${with_libwrap+set}" = set; the
d4f5003
   if test "$with_libwrap" != "no"; then
d4f5003
     if test "$with_libwrap" != "yes"; then
d4f5003
       CPPFLAGS="${CPPFLAGS} -I$with_libwrap/include"
d4f5003
-      LDFLAGS="${LDFLAGS} -L$with_libwrap/lib"
d4f5003
+      LDFLAGS="${LDFLAGS} -L$with_libwrap"
d4f5003
     fi
d4f5003
 
d4f5003
     _libs=${LIBS}
d4f5003
@@ -28134,7 +28134,7 @@ echo "${ECHO_T}yes" >&6
d4f5003
 #define NETSNMP_USE_LIBWRAP 1
d4f5003
 _ACEOF
d4f5003
 
d4f5003
-	    test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap/lib"
d4f5003
+	    test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap"
d4f5003
 	    _wraplibs="$_wraplibs -lwrap"
d4f5003
 else
d4f5003
   echo "$as_me: failed program was:" >&5
d4f5003
@@ -28362,7 +28362,7 @@ echo "${ECHO_T}yes" >&6
d4f5003
 #define NETSNMP_USE_LIBWRAP 1
d4f5003
 _ACEOF
d4f5003
 
d4f5003
-			test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap/lib"
d4f5003
+			test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap"
d4f5003
 			_wraplibs="$_wraplibs -lwrap -lnsl"
d4f5003
 else
d4f5003
   echo "$as_me: failed program was:" >&5
d4f5003
--- net-snmp-5.4.1/configure.libdir.orig	2007-08-07 13:31:31.000000000 +0200
d4f5003
+++ net-snmp-5.4.1/configure.libdir	2007-08-07 13:32:05.000000000 +0200
d4f5003
@@ -27922,7 +27922,7 @@ if test "${with_libwrap+set}" = set; the
d4f5003
   if test "$with_libwrap" != "no"; then
d4f5003
     if test "$with_libwrap" != "yes"; then
d4f5003
       CPPFLAGS="${CPPFLAGS} -I$with_libwrap/include"
d4f5003
-      LDFLAGS="${LDFLAGS} -L$with_libwrap/lib"
d4f5003
+      LDFLAGS="${LDFLAGS} -L$with_libwrap"
d4f5003
     fi
d4f5003
 
d4f5003
     _libs=${LIBS}
d4f5003
@@ -28126,7 +28126,7 @@ echo "${ECHO_T}yes" >&6
d4f5003
 #define NETSNMP_USE_LIBWRAP 1
d4f5003
 _ACEOF
d4f5003
 
d4f5003
-	    test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap/lib"
d4f5003
+	    test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap"
d4f5003
 	    _wraplibs="$_wraplibs -lwrap"
d4f5003
 else
d4f5003
   echo "$as_me: failed program was:" >&5
d4f5003
@@ -28354,7 +28354,7 @@ echo "${ECHO_T}yes" >&6
d4f5003
 #define NETSNMP_USE_LIBWRAP 1
d4f5003
 _ACEOF
d4f5003
 
d4f5003
-			test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap/lib"
d4f5003
+			test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap"
d4f5003
 			_wraplibs="$_wraplibs -lwrap -lnsl"
d4f5003
 else
d4f5003
   echo "$as_me: failed program was:" >&5
d4f5003
--- net-snmp-5.4.1/configure.orig	2007-08-07 13:31:31.000000000 +0200
d4f5003
+++ net-snmp-5.4.1/configure	2007-08-07 13:33:29.000000000 +0200
d4f5003
@@ -27922,7 +27922,7 @@ if test "${with_libwrap+set}" = set; the
d4f5003
   if test "$with_libwrap" != "no"; then
d4f5003
     if test "$with_libwrap" != "yes"; then
d4f5003
       CPPFLAGS="${CPPFLAGS} -I$with_libwrap/include"
d4f5003
-      LDFLAGS="${LDFLAGS} -L$with_libwrap/lib"
d4f5003
+      LDFLAGS="${LDFLAGS} -L$with_libwrap"
d4f5003
     fi
d4f5003
 
d4f5003
     _libs=${LIBS}
d4f5003
@@ -28126,7 +28126,7 @@ echo "${ECHO_T}yes" >&6
d4f5003
 #define NETSNMP_USE_LIBWRAP 1
d4f5003
 _ACEOF
d4f5003
 
d4f5003
-	    test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap/lib"
d4f5003
+	    test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap"
d4f5003
 	    _wraplibs="$_wraplibs -lwrap"
d4f5003
 else
d4f5003
   echo "$as_me: failed program was:" >&5
d4f5003
@@ -28354,7 +28354,7 @@ echo "${ECHO_T}yes" >&6
d4f5003
 #define NETSNMP_USE_LIBWRAP 1
d4f5003
 _ACEOF
d4f5003
 
d4f5003
-			test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap/lib"
d4f5003
+			test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap"
d4f5003
 			_wraplibs="$_wraplibs -lwrap -lnsl"
d4f5003
 else
d4f5003
   echo "$as_me: failed program was:" >&5
d4f5003
--- net-snmp-5.4.1/configure.in.orig	2007-07-27 19:02:00.000000000 +0200
d4f5003
+++ net-snmp-5.4.1/configure.in	2007-08-07 13:33:55.000000000 +0200
d4f5003
@@ -2714,7 +2714,7 @@ AC_ARG_WITH(libwrap,
d4f5003
   if test "$with_libwrap" != "no"; then
d4f5003
     if test "$with_libwrap" != "yes"; then
d4f5003
       CPPFLAGS="${CPPFLAGS} -I$with_libwrap/include"
d4f5003
-      LDFLAGS="${LDFLAGS} -L$with_libwrap/lib"
d4f5003
+      LDFLAGS="${LDFLAGS} -L$with_libwrap"
d4f5003
     fi
d4f5003
 
d4f5003
     _libs=${LIBS}
d4f5003
@@ -2732,7 +2732,7 @@ AC_ARG_WITH(libwrap,
d4f5003
 
d4f5003
 	    AC_MSG_RESULT([yes])
d4f5003
 	    AC_DEFINE(NETSNMP_USE_LIBWRAP)
d4f5003
-	    test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap/lib"
d4f5003
+	    test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap"
d4f5003
 	    _wraplibs="$_wraplibs -lwrap"],
d4f5003
         [
d4f5003
 	    AC_MSG_RESULT([no])
d4f5003
@@ -2748,7 +2748,7 @@ AC_ARG_WITH(libwrap,
d4f5003
 
d4f5003
 			AC_MSG_RESULT(yes)
d4f5003
 			AC_DEFINE(NETSNMP_USE_LIBWRAP)
d4f5003
-			test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap/lib"
d4f5003
+			test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap"
d4f5003
 			_wraplibs="$_wraplibs -lwrap -lnsl",
d4f5003
 
d4f5003
 			AC_MSG_RESULT(no)
d4f5003
--- net-snmp-5.4.1/configure.libpath.orig	2007-08-07 13:31:31.000000000 +0200
d4f5003
+++ net-snmp-5.4.1/configure.libpath	2007-08-07 13:34:52.000000000 +0200
d4f5003
@@ -27922,7 +27922,7 @@ if test "${with_libwrap+set}" = set; the
d4f5003
   if test "$with_libwrap" != "no"; then
d4f5003
     if test "$with_libwrap" != "yes"; then
d4f5003
       CPPFLAGS="${CPPFLAGS} -I$with_libwrap/include"
d4f5003
-      LDFLAGS="${LDFLAGS} -L$with_libwrap/lib"
d4f5003
+      LDFLAGS="${LDFLAGS} -L$with_libwrap"
d4f5003
     fi
d4f5003
 
d4f5003
     _libs=${LIBS}
d4f5003
@@ -28126,7 +28126,7 @@ echo "${ECHO_T}yes" >&6
d4f5003
 #define NETSNMP_USE_LIBWRAP 1
d4f5003
 _ACEOF
d4f5003
 
d4f5003
-	    test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap/lib"
d4f5003
+	    test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap"
d4f5003
 	    _wraplibs="$_wraplibs -lwrap"
d4f5003
 else
d4f5003
   echo "$as_me: failed program was:" >&5
d4f5003
@@ -28354,7 +28354,7 @@ echo "${ECHO_T}yes" >&6
d4f5003
 #define NETSNMP_USE_LIBWRAP 1
d4f5003
 _ACEOF
d4f5003
 
d4f5003
-			test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap/lib"
d4f5003
+			test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap"
d4f5003
 			_wraplibs="$_wraplibs -lwrap -lnsl"
d4f5003
 else
d4f5003
   echo "$as_me: failed program was:" >&5