dev-libs/mongo-c-driver: fix USE=-static-libs

Closes: https://bugs.gentoo.org/953521
Signed-off-by: Robert Förster <Dessa@gmake.de>
Part-of: https://github.com/gentoo/gentoo/pull/44242
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Robert Förster
2025-10-19 12:46:53 +02:00
committed by Sam James
parent 4a398ebcd9
commit 1486041d17

View File

@@ -64,6 +64,9 @@ src_prepare() {
sed -i '/message (STATUS "disabling test-libmongoc since using system libbson")/{d}' CMakeLists.txt || die
sed -i '/SET (ENABLE_TESTS OFF)/{d}' CMakeLists.txt || die
sed -i 's#<bson/bson-private.h>#"bson/bson-private.h"#' src/libbson/tests/test-bson.c || die
# bug 953521
sed -i 's/message (FATAL_ERROR "System libbson built without static library target")/message (STATUS "System libbson built without static library target")/' CMakeLists.txt || die
}
src_configure() {