Blob Blame History Raw
diff -up net-snmp-5.4.1/configure.backup_patch_11 net-snmp-5.4.1/configure
--- net-snmp-5.4.1/configure.backup_patch_11	2008-07-25 12:53:35.000000000 +0200
+++ net-snmp-5.4.1/configure	2008-07-25 12:53:39.000000000 +0200
@@ -27922,7 +27922,7 @@ if test "${with_libwrap+set}" = set; the
   if test "$with_libwrap" != "no"; then
     if test "$with_libwrap" != "yes"; then
       CPPFLAGS="${CPPFLAGS} -I$with_libwrap/include"
-      LDFLAGS="${LDFLAGS} -L$with_libwrap/lib"
+      LDFLAGS="${LDFLAGS} -L$with_libwrap"
     fi
 
     _libs=${LIBS}
@@ -28126,7 +28126,7 @@ echo "${ECHO_T}yes" >&6
 #define NETSNMP_USE_LIBWRAP 1
 _ACEOF
 
-	    test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap/lib"
+	    test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap"
 	    _wraplibs="$_wraplibs -lwrap"
 else
   echo "$as_me: failed program was:" >&5
@@ -28354,7 +28354,7 @@ echo "${ECHO_T}yes" >&6
 #define NETSNMP_USE_LIBWRAP 1
 _ACEOF
 
-			test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap/lib"
+			test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap"
 			_wraplibs="$_wraplibs -lwrap -lnsl"
 else
   echo "$as_me: failed program was:" >&5
diff -up net-snmp-5.4.1/configure.in.backup_patch_11 net-snmp-5.4.1/configure.in
--- net-snmp-5.4.1/configure.in.backup_patch_11	2007-07-27 19:02:00.000000000 +0200
+++ net-snmp-5.4.1/configure.in	2008-07-25 12:53:39.000000000 +0200
@@ -2714,7 +2714,7 @@ AC_ARG_WITH(libwrap,
   if test "$with_libwrap" != "no"; then
     if test "$with_libwrap" != "yes"; then
       CPPFLAGS="${CPPFLAGS} -I$with_libwrap/include"
-      LDFLAGS="${LDFLAGS} -L$with_libwrap/lib"
+      LDFLAGS="${LDFLAGS} -L$with_libwrap"
     fi
 
     _libs=${LIBS}
@@ -2732,7 +2732,7 @@ AC_ARG_WITH(libwrap,
 
 	    AC_MSG_RESULT([yes])
 	    AC_DEFINE(NETSNMP_USE_LIBWRAP)
-	    test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap/lib"
+	    test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap"
 	    _wraplibs="$_wraplibs -lwrap"],
         [
 	    AC_MSG_RESULT([no])
@@ -2748,7 +2748,7 @@ AC_ARG_WITH(libwrap,
 
 			AC_MSG_RESULT(yes)
 			AC_DEFINE(NETSNMP_USE_LIBWRAP)
-			test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap/lib"
+			test "$with_libwrap" != no -a "$with_libwrap" != yes && _wraplibs="-L$with_libwrap"
 			_wraplibs="$_wraplibs -lwrap -lnsl",
 
 			AC_MSG_RESULT(no)