diff -ru DB_File-1.814.orig/config.in DB_File-1.814/config.in
--- DB_File-1.814.orig/config.in	2005-10-31 17:38:45.000000000 -0500
+++ DB_File-1.814/config.in	2005-11-20 12:06:38.000000000 -0500
@@ -9,7 +9,7 @@
 #    Change the path below to point to the directory where db.h is
 #    installed on your system.
 
-INCLUDE	= /usr/local/BerkeleyDB/include
+INCLUDE	= @PREFIX@/include/db6
 #INCLUDE	= /usr/local/include
 #INCLUDE	= /usr/include
 
@@ -18,7 +18,7 @@
 #    Change the path below to point to the directory where libdb is
 #    installed on your system.
 
-LIB	= /usr/local/BerkeleyDB/lib
+LIB	= @PREFIX@/lib
 #LIB	= /usr/local/lib
 #LIB	= /usr/lib