--- cpp.orig/config/Make.rules Fri Mar 11 16:19:00 2013 +++ cpp/config/Make.rules Fri May 19 22:00:09 2013 @@ -233,7 +233,9 @@ DB_FLAGS = -I/usr/local/include/db53 DB_LIBS = -L/usr/local/$(libsubdir)/db53 -ldb_cxx else - DB_LIBS = -ldb_cxx + DB_FLAGS = -I%%BDB_INCLUDE_DIR%% + DB_LIBS = -L%%BDB_LIB_DIR%% -l%%BDB_LIB_CXX_NAME%% + DB_RPATH_LINK = $(call rpathlink,%%BDB_LIB_DIR%%) endif endif endif