commit: fd3ee0d887453c5e16eb426116ab9c510c796ed8 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Sat Mar 2 16:23:55 2024 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sat Mar 2 16:24:29 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd3ee0d8
dev-lang/gnat-gpl: add check for clang Closes: https://bugs.gentoo.org/883587 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-lang/gnat-gpl/gnat-gpl-2021-r4.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-lang/gnat-gpl/gnat-gpl-2021-r4.ebuild b/dev-lang/gnat-gpl/gnat-gpl-2021-r4.ebuild index c90d5ac44036..002368b2c0c0 100644 --- a/dev-lang/gnat-gpl/gnat-gpl-2021-r4.ebuild +++ b/dev-lang/gnat-gpl/gnat-gpl-2021-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -50,6 +50,13 @@ BDEPEND=sys-devel/binutils S="${WORKDIR}"/${MYP} +pkg_pretend() { + toolchain_pkg_pretend + if tc-is-clang; then + die "${P} does not build with clang. It is bootstrapped." + fi +} + src_prepare() { if use amd64; then BTSTRP=${BTSTRP_AMD64}
