[dev-db/mongodb] fix patch for 6 and up

This commit is contained in:
2024-12-17 16:19:51 +01:00
parent 1a7a3a7ecf
commit abbda3f701
3 changed files with 35 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ PATCHES=(
"${FILESDIR}/${PN}-7.0.15-system-boost.patch"
"${FILESDIR}/${PN}-7.0.15-gcc-15.patch"
"${FILESDIR}/${PN}-5.0.26-scons.patch"
"${FILESDIR}/${PN}-5.0.26-mozjs-remove-unused-constructor.patch"
"${FILESDIR}/${PN}-6.0.19-mozjs-remove-unused-constructor.patch"
)
python_check_deps() {
@@ -116,6 +116,11 @@ src_configure() {
# --use-system-tcmalloc is strongly NOT recommended:
# for MONGO_GIT_HASH use GitOrigin-RevId from the commit of the tag
scons_opts=(
AR="$(tc-getAR)"
CC="$(tc-getCC)"
CXX="$(tc-getCXX)"
CCFLAGS="${CXXFLAGS}"
VERBOSE=1
VARIANT_DIR=gentoo
MONGO_VERSION="${PV}"