commit: c3c4a4d49efc9325d0f78e0149b6adb7844718ae Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Feb 1 07:59:07 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Feb 1 08:05:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3c4a4d4
llvm-core/llvmgold: main is now 21* Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> llvm-core/llvmgold/llvmgold-21.ebuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/llvm-core/llvmgold/llvmgold-21.ebuild b/llvm-core/llvmgold/llvmgold-21.ebuild new file mode 100644 index 000000000000..b1358113bb70 --- /dev/null +++ b/llvm-core/llvmgold/llvmgold-21.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="LLVMgold plugin symlink for autoloading" +HOMEPAGE="https://llvm.org/" +S=${WORKDIR} + +LICENSE="public-domain" +SLOT="0" + +RDEPEND=" + llvm-core/llvm:${PV}[binutils-plugin] + !llvm-core/llvm:0 +" + +src_install() { + dodir "/usr/${CHOST}/binutils-bin/lib/bfd-plugins" + dosym "../../../../lib/llvm/${PV}/$(get_libdir)/LLVMgold.so" \ + "/usr/${CHOST}/binutils-bin/lib/bfd-plugins/LLVMgold.so" +}