app-arch/libarchive: Sync with Gentoo

It's from Gentoo commit 4c325e846f72b64ff3e73e9f3c4567c508da21e9.
This commit is contained in:
Flatcar Buildbot 2024-03-04 07:55:38 +00:00 committed by Krzesimir Nowak
parent a36fc3c585
commit de7ddf5be1

View File

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib-minimal toolchain-funcs verify-sig
inherit libtool multilib-minimal toolchain-funcs verify-sig
DESCRIPTION="Multi-format archive and compression library"
HOMEPAGE="
@ -78,6 +78,13 @@ PATCHES=(
"${FILESDIR}/${P}-lrzip.patch"
)
src_prepare() {
default
# Needed for flags to be respected w/ LTO
elibtoolize
}
multilib_src_configure() {
export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923