summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-03-22 15:17:40 +0100
committerMichał Górny <mgorny@gentoo.org>2024-03-22 15:17:40 +0100
commitdcef216ff6c4f8667b68535d22c0cccd8977a3ae (patch)
tree3c1e017a35f0ccd1216d2d833b67f24a50ae3f52 /dev-libs/libgit2
parentdev-python/Nuitka: Remove old (diff)
downloadgentoo-dcef216ff6c4f8667b68535d22c0cccd8977a3ae.tar.gz
gentoo-dcef216ff6c4f8667b68535d22c0cccd8977a3ae.tar.bz2
gentoo-dcef216ff6c4f8667b68535d22c0cccd8977a3ae.zip
dev-libs/libgit2: Enable LFS support for 32-bit arches
Closes: https://bugs.gentoo.org/925207 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/libgit2')
-rw-r--r--dev-libs/libgit2/libgit2-1.7.2.ebuild4
-rw-r--r--dev-libs/libgit2/libgit2-1.8.0.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/dev-libs/libgit2/libgit2-1.7.2.ebuild b/dev-libs/libgit2/libgit2-1.7.2.ebuild
index 1efddddfb2f3..baf3b72e642b 100644
--- a/dev-libs/libgit2/libgit2-1.7.2.ebuild
+++ b/dev-libs/libgit2/libgit2-1.7.2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake python-any-r1
+inherit cmake flag-o-matic python-any-r1
DESCRIPTION="A linkable library for Git"
HOMEPAGE="https://libgit2.org/"
@@ -44,6 +44,8 @@ src_configure() {
-DUSE_HTTP_PARSER=system
-DREGEX_BACKEND=pcre2
)
+ # https://bugs.gentoo.org/925207
+ append-lfs-flags
cmake_src_configure
}
diff --git a/dev-libs/libgit2/libgit2-1.8.0.ebuild b/dev-libs/libgit2/libgit2-1.8.0.ebuild
index ad67fc2de444..9f21956dbf5b 100644
--- a/dev-libs/libgit2/libgit2-1.8.0.ebuild
+++ b/dev-libs/libgit2/libgit2-1.8.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake python-any-r1
+inherit cmake flag-o-matic python-any-r1
DESCRIPTION="A linkable library for Git"
HOMEPAGE="https://libgit2.org/"
@@ -44,6 +44,8 @@ src_configure() {
-DUSE_HTTP_PARSER=system
-DREGEX_BACKEND=pcre2
)
+ # https://bugs.gentoo.org/925207
+ append-lfs-flags
cmake_src_configure
}