From: Santiago Vila <sanvila@debian.org>
Subject: Patch from procmail 3.15

--- a/Makefile
+++ b/Makefile
@@ -79,7 +79,7 @@
 #			-lresolv	# not really needed, is it?
 
 # Informal list of directories where we look for the libraries in SEARCHLIBS
-LIBPATHS=/lib /usr/lib /usr/local/lib
+LIBPATHS=/lib /usr/lib
 
 GCC_WARNINGS = -O2 -pedantic -Wreturn-type -Wunused -Wformat -Wtraditional \
  -Wpointer-arith -Wconversion -Waggregate-return \
--- a/config.h
+++ b/config.h
@@ -86,7 +86,7 @@
    (either directly, or through changing the definitions in the same file
    of MAILSPOOLDIR, MAILSPOOLSUFFIX, MAILSPOOLHASH or MAILSPOOLHOME) */
 
-/*#define DEFsendmail	"/bin/mail"	/* uncomment and/or change if the
+#define DEFsendmail	"/usr/sbin/sendmail"	/* uncomment and/or change if the
 					   autoconfigured default SENDMAIL is
 	not suitable */
 
--- a/src/autoconf
+++ b/src/autoconf
@@ -1391,8 +1391,7 @@
 lpath='/bin'
 bins="/bin"
 
-for newd in /usr/bin /usr/ucb /usr/5bin $BINDIR /local/bin /usr/local/bin \
- /global/bin /usr/bin/X11 /usr/X*/bin
+for newd in /usr/bin $BINDIR /usr/bin/X11 /usr/X*/bin
 do
   if test -d $newd
   then
