]> git.saurik.com Git - apt.git/commit
CMake: Handle Berkeley DB on FreeBSD
authorJulian Andres Klode <jak@debian.org>
Tue, 23 Aug 2016 10:48:25 +0000 (12:48 +0200)
committerJulian Andres Klode <jak@debian.org>
Fri, 26 Aug 2016 13:49:14 +0000 (15:49 +0200)
commit24ad9b325f2d277864e3a75931137b93dd75cd03
tree2b824aad8624a30a958c8062e6876204bd805230
parent8265d6c8fdc2dd835d9cf2a47af13461fa421389
CMake: Handle Berkeley DB on FreeBSD

The BSD systems still ship their own db.h with a historical
BSD implementation, which is preferred by CMake, as it searches
its default path first. We thus have to disable the DEFAULT_PATH
for the search, unfortunately. We also need to pass the correct
include directory to the target.

Furthermore, on FreeBSD the library is called db-<VERSION>, so
let's add db-5 to the list of allowed names.

Gbp-Dch: ignore
CMake/FindBerkeleyDB.cmake
ftparchive/CMakeLists.txt