mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
dev-libs/croaring: patch the pkgconfig.pc to include roaring
Otherwise pyroaring (the only reverse dependency) fails to #include: fatal error: roaring.h: No such file or directory `````` Part-off: https://codeberg.org/gentoo/guru/pulls/17 Signed-off-by: zyxhere💭 <zyx@envs.net>
This commit is contained in:
1 file changed
+7
@@ -25,6 +25,13 @@ BDEPEND="
|
||||
test? ( >=dev-util/cmocka-2.0 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Otherwise pyroaring (the only reverse dependency) isn't able to #include
|
||||
sed -i 's:I${includedir}:I${includedir}/roaring:' roaring.pc.in
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
# messes with `-march=native` but oh well
|
||||
|
||||
Reference in new issue
Block a user