Gentoo Archives: gentoo-dev

From: David Seifert <soap@g.o>
To: gentoo-dev@l.g.o
Cc: David Seifert <soap@g.o>
Subject: [gentoo-dev] [PATCH 15/41] llvm.eclass: canonicalize eclass structure
Date: Sun, 25 Dec 2022 22:19:51
Message-Id: 20221225221552.8023-15-soap@gentoo.org
In Reply to: [gentoo-dev] [PATCH 01/41] ada.eclass: drop EAPI 6 support by David Seifert
1 Signed-off-by: David Seifert <soap@g.o>
2 ---
3 eclass/llvm.eclass | 4 ++--
4 1 file changed, 2 insertions(+), 2 deletions(-)
5
6 diff --git a/eclass/llvm.eclass b/eclass/llvm.eclass
7 index b4347163fac..e334de4b86f 100644
8 --- a/eclass/llvm.eclass
9 +++ b/eclass/llvm.eclass
10 @@ -58,12 +58,13 @@
11
12 case ${EAPI} in
13 7|8) ;;
14 - *) die "EAPI=${EAPI:-0} not supported";;
15 + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
16 esac
17
18 EXPORT_FUNCTIONS pkg_setup
19
20 if [[ ! ${_LLVM_ECLASS} ]]; then
21 +_LLVM_ECLASS=1
22
23 # make sure that the versions installing straight into /usr/bin
24 # are uninstalled
25 @@ -278,5 +279,4 @@ llvm_pkg_setup() {
26 fi
27 }
28
29 -_LLVM_ECLASS=1
30 fi
31 --
32 2.39.0