mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
dev-libs/cereal: include system rapidjson
Fixes build and tests. Also fix tests on nomultilib systems by disabling one of them. rapidxml still needs to be unbundled. Closes: https://bugs.gentoo.org/835614 Bug: https://bugs.gentoo.org/792444 Signed-off-by: Matthew Smith <matthew@gentoo.org>
This commit is contained in:
@@ -25,6 +25,9 @@ src_prepare() {
|
||||
|
||||
# remove bundled rapidjson
|
||||
rm -r include/cereal/external/rapidjson || die 'could not remove bundled rapidjson'
|
||||
sed -e '/rapidjson/s|cereal/external/||' \
|
||||
-e 's/CEREAL_RAPIDJSON_NAMESPACE/rapidjson/g' \
|
||||
-i include/cereal/archives/json.hpp || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
@@ -39,6 +42,9 @@ src_configure() {
|
||||
-DSKIP_PERFORMANCE_COMPARISON=ON
|
||||
|
||||
-DWITH_WERROR=OFF
|
||||
|
||||
# TODO: Enable if multilib?
|
||||
-DSKIP_PORTABILITY_TEST=ON
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
Reference in New Issue
Block a user