7809d0
diff -up db-5.1.19/dist/Makefile.in.185compat db-5.1.19/dist/Makefile.in
7809d0
--- db-5.1.19/dist/Makefile.in.185compat	2010-08-27 17:08:03.000000000 +0200
7809d0
+++ db-5.1.19/dist/Makefile.in	2010-09-10 10:02:32.974640425 +0200
7809d0
@@ -193,8 +193,8 @@ libtso_major=	$(libtcl_base)-$(LIBMAJOR)
7809d0
 # local libraries, for example.  Do that by adding -I options to the DB185INC
7809d0
 # line, and -l options to the DB185LIB line.
7809d0
 ##################################################
7809d0
-DB185INC=	-c @CFLAGS@ -I$(topdir) @CPPFLAGS@
7809d0
-DB185LIB=
7809d0
+DB185INC=	-c @CFLAGS@ -I$(srcdir) -I$(srcdir)/db.1.85/PORT/linux/include @CPPFLAGS@
7809d0
+DB185LIB=	${srcdir}/db.1.85/PORT/linux/libdb.a
7809d0
 
7809d0
 ##################################################
7809d0
 # Performance Event Monitoring definitions