app-crypt/mit-krb5: Sync with Gentoo

It's from Gentoo commit d5d927d07c28a5f8c3b7d05ccb0aaf0086697443.
This commit is contained in:
Flatcar Buildbot 2024-03-04 07:55:56 +00:00 committed by Krzesimir Nowak
parent 9bc092945a
commit f51db0a92b

View File

@ -4,7 +4,7 @@
EAPI=8 EAPI=8
PYTHON_COMPAT=( python3_{10..12} ) PYTHON_COMPAT=( python3_{10..12} )
inherit autotools python-any-r1 systemd toolchain-funcs multilib-minimal inherit autotools flag-o-matic python-any-r1 systemd toolchain-funcs multilib-minimal
MY_P="${P/mit-}" MY_P="${P/mit-}"
P_DIR=$(ver_cut 1-2) P_DIR=$(ver_cut 1-2)
@ -14,7 +14,7 @@ SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
SLOT="0" SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86"
IUSE="cpu_flags_x86_aes doc +keyutils lmdb nls openldap +pkinit selinux +threads test xinetd" IUSE="cpu_flags_x86_aes doc +keyutils lmdb nls openldap +pkinit selinux +threads test xinetd"
RESTRICT="!test? ( test )" RESTRICT="!test? ( test )"
@ -67,6 +67,13 @@ src_prepare() {
eautoreconf eautoreconf
} }
src_configure() {
# lto-type-mismatch (bug #854225)
filter-lto
multilib-minimal_src_configure
}
multilib_src_configure() { multilib_src_configure() {
ECONF_SOURCE=${S} \ ECONF_SOURCE=${S} \
AR="$(tc-getAR)" \ AR="$(tc-getAR)" \