dev-libs/libksba: Sync with Gentoo

It's from Gentoo commit 0aa9af35929dfbd0346a7277f0f02a3bf707b7e6.
This commit is contained in:
Flatcar Buildbot 2023-06-19 07:13:05 +00:00
parent eee59513cf
commit 0139cb6b9c

View File

@ -10,7 +10,7 @@ EAPI=8
# any subsequent ones linked within so you're covered for a while.) # any subsequent ones linked within so you're covered for a while.)
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc
inherit toolchain-funcs verify-sig inherit toolchain-funcs verify-sig libtool
DESCRIPTION="X.509 and CMS (PKCS#7) library" DESCRIPTION="X.509 and CMS (PKCS#7) library"
HOMEPAGE="https://www.gnupg.org/related_software/libksba" HOMEPAGE="https://www.gnupg.org/related_software/libksba"
@ -33,6 +33,12 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.6.0-no-fgrep-ksba-config.patch "${FILESDIR}"/${PN}-1.6.0-no-fgrep-ksba-config.patch
) )
src_prepare() {
default
elibtoolize # necessary on Solaris for shared lib support
}
src_configure() { src_configure() {
export CC_FOR_BUILD="$(tc-getBUILD_CC)" export CC_FOR_BUILD="$(tc-getBUILD_CC)"