commit: 9541fad8fb8167c5f4b9fa6ceb58839139fd8014
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 28 12:10:05 2022 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Jul 28 13:03:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9541fad8
sys-apps/fwupd-efi: have the ebuilds set efi-libdir
Upstream build scripts attempt to determine the ABI-correct libdir name
by calling '${CC} -print-multi-os-directory', which does not work with
clang. Fortunately, we have a perfectly good mechanism for this
available to the ebuilds.
Closes: https://bugs.gentoo.org/831970
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
sys-apps/fwupd-efi/fwupd-efi-1.3.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys-apps/fwupd-efi/fwupd-efi-1.3.ebuild
b/sys-apps/fwupd-efi/fwupd-efi-1.3.ebuild
index 7fff4de7760f..ade0d8be03f8 100644
--- a/sys-apps/fwupd-efi/fwupd-efi-1.3.ebuild
+++ b/sys-apps/fwupd-efi/fwupd-efi-1.3.ebuild
@@ -39,6 +39,7 @@ src_configure() {
local emesonargs=(
-Defi-cc="$(tc-getCC)"
-Defi-ld="$(tc-getLD)"
+ -Defi-libdir="${EPREFIX}"/usr/$(get_libdir)
-Defi_sbat_distro_id="gentoo"
-Defi_sbat_distro_summary="Gentoo GNU/Linux"
-Defi_sbat_distro_pkgname="${PN}"