diff options
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 |