From c9569a1edaf6f93cbeefe0b8dacc02c14dbb6cc9 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 17:06:43 +0000 Subject: * Build apt-ftparchive with libdb4.2 rather than libdb2 Author: mdz Date: 2004-05-08 19:41:01 GMT * Build apt-ftparchive with libdb4.2 rather than libdb2 - Patch from Clint Adams to do most of the work - Build-Depends: s/libdb2-dev/libdb4.2-dev/ - Add AC_PREREQ(2.50) to configure.in - Use db_strerror(err) rather than GlobalError::Errno (which uses strerror) --- ftparchive/makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ftparchive/makefile') diff --git a/ftparchive/makefile b/ftparchive/makefile index ca6d8f9fe..a965166a0 100644 --- a/ftparchive/makefile +++ b/ftparchive/makefile @@ -6,9 +6,9 @@ SUBDIR=ftparchive include ../buildlib/defaults.mak # The apt-ftparchive program -ifdef DB2LIB +ifdef BDBLIB PROGRAM=apt-ftparchive -SLIBS = -lapt-pkg -lapt-inst $(DB2LIB) +SLIBS = -lapt-pkg -lapt-inst $(BDBLIB) LIB_MAKES = apt-pkg/makefile apt-inst/makefile SOURCE = apt-ftparchive.cc cachedb.cc writer.cc contents.cc override.cc \ multicompress.cc @@ -17,4 +17,4 @@ else PROGRAM=apt-ftparchive MESSAGE="Must have db2 to build apt-ftparchive" include $(FAIL_H) -endif # ifdef DB2LIB +endif # ifdef BDBLIB -- cgit v1.2.3