summaryrefslogtreecommitdiff
path: root/ftparchive/makefile
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 17:06:43 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 17:06:43 +0000
commitc9569a1edaf6f93cbeefe0b8dacc02c14dbb6cc9 (patch)
tree0116f442851cc9734ad663f3825168e4d9852d8a /ftparchive/makefile
parent77113d1158583ebcc931997786e2a930f6bfa7a6 (diff)
* 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)
Diffstat (limited to 'ftparchive/makefile')
-rw-r--r--ftparchive/makefile6
1 files changed, 3 insertions, 3 deletions
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