diff options
author | David Seifert <soap@gentoo.org> | 2022-12-27 17:29:55 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-12-27 17:29:55 +0100 |
commit | c59b3081a81aafa79fe1b0283eeee6e21122b56f (patch) | |
tree | abdcfadf03ebbf3b12757772d446c80d2ab80a2f /eclass/llvm.eclass | |
parent | linux-mod.eclass: drop EAPI 6 support (diff) | |
download | gentoo-c59b3081a81aafa79fe1b0283eeee6e21122b56f.tar.gz gentoo-c59b3081a81aafa79fe1b0283eeee6e21122b56f.tar.bz2 gentoo-c59b3081a81aafa79fe1b0283eeee6e21122b56f.zip |
llvm.eclass: canonicalize eclass structure
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/llvm.eclass')
-rw-r--r-- | eclass/llvm.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/llvm.eclass b/eclass/llvm.eclass index b4347163face..cdbc766feeb3 100644 --- a/eclass/llvm.eclass +++ b/eclass/llvm.eclass @@ -58,12 +58,11 @@ case ${EAPI} in 7|8) ;; - *) die "EAPI=${EAPI:-0} not supported";; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -EXPORT_FUNCTIONS pkg_setup - if [[ ! ${_LLVM_ECLASS} ]]; then +_LLVM_ECLASS=1 # make sure that the versions installing straight into /usr/bin # are uninstalled @@ -278,5 +277,6 @@ llvm_pkg_setup() { fi } -_LLVM_ECLASS=1 fi + +EXPORT_FUNCTIONS pkg_setup |