--- cpan/DB_File/config.in.orig
+++ cpan/DB_File/config.in
@@ -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/db48
 #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/db48
 #LIB	= /usr/local/lib
 #LIB	= /usr/lib