mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-physics/reduze: switch to sys-libs/db:5.3
This version has a more permissive licence and reduze was the only consumer left of 6.0. Dropping it will allow us to remove db:6.0. Sadly, reduze does not build with 4.8, which is the main bdb version. Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/29032 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -6,7 +6,7 @@ diff -r -U2 a/reduze/CMakeLists.txt b/reduze/CMakeLists.txt
|
||||
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)
|
||||
+ PATHS /usr/include/db5.3)
|
||||
# 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)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
@@ -16,12 +16,14 @@ IUSE="berkdb doc examples mpi"
|
||||
|
||||
RDEPEND="
|
||||
>=sci-mathematics/ginac-1.4.1
|
||||
berkdb? ( sys-libs/db:6.0[cxx] )
|
||||
mpi? ( virtual/mpi )"
|
||||
berkdb? ( sys-libs/db:5.3=[cxx] )
|
||||
mpi? ( virtual/mpi )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-cmake.patch
|
||||
Reference in New Issue
Block a user