diff options
author | Andrey Grozin <grozin@gentoo.org> | 2017-12-19 20:35:56 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2017-12-19 20:35:56 +0700 |
commit | 911079e95cb875b0e5b46f53992cd6ea670d427d (patch) | |
tree | 7221618bc20022802824e856503bb30954e98ae8 /sci-physics | |
parent | net-analyzer/nessus-agent-bin: version bump to 7.0.0 (diff) | |
download | gentoo-911079e95cb875b0e5b46f53992cd6ea670d427d.tar.gz gentoo-911079e95cb875b0e5b46f53992cd6ea670d427d.tar.bz2 gentoo-911079e95cb875b0e5b46f53992cd6ea670d427d.zip |
sci-physics/reduze: fix finding berkeley db
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/reduze/files/reduze-2.2-db.patch | 15 | ||||
-rw-r--r-- | sci-physics/reduze/reduze-2.2.ebuild | 2 |
2 files changed, 17 insertions, 0 deletions
diff --git a/sci-physics/reduze/files/reduze-2.2-db.patch b/sci-physics/reduze/files/reduze-2.2-db.patch new file mode 100644 index 000000000000..671cd5565e0a --- /dev/null +++ b/sci-physics/reduze/files/reduze-2.2-db.patch @@ -0,0 +1,15 @@ +diff -r -U2 reduze-2.2.orig/reduze/CMakeLists.txt reduze-2.2/reduze/CMakeLists.txt +--- reduze-2.2.orig/reduze/CMakeLists.txt 2017-11-17 14:11:58.000000000 +0700 ++++ reduze-2.2/reduze/CMakeLists.txt 2017-12-19 20:27:17.508528174 +0700 +@@ -84,9 +84,8 @@ + message (STATUS "Building with Berkeley DB support") + find_path(DB_INCLUDE_PATH NAMES dbstl_common.h +- PATHS /usr/local/include/db4 /usr/local/include +- /usr/include/db4 /usr/include) ++ PATHS /usr/include/db6.0) + # we also need db.h but just assume its in the same directory + find_library(DB_LIBRARY NAMES db_stl +- PATHS /usr/lib /usr/local/lib) ++ PATHS /usr/lib /usr/lib64) + if (NOT (DB_LIBRARY AND DB_INCLUDE_PATH)) + message (FATAL_ERROR "Failed to find Berkeley DB or its STL interface" diff --git a/sci-physics/reduze/reduze-2.2.ebuild b/sci-physics/reduze/reduze-2.2.ebuild index 37b323c903b1..7e8241f3c736 100644 --- a/sci-physics/reduze/reduze-2.2.ebuild +++ b/sci-physics/reduze/reduze-2.2.ebuild @@ -22,6 +22,8 @@ DEPEND="${RDEPEND} virtual/pkgconfig doc? ( app-doc/doxygen )" +PATCHES=( "${FILESDIR}"/${P}-db.patch ) + src_prepare() { cmake-utils_src_prepare # gentoo doc directory |