diff options
Diffstat (limited to 'sys-libs/libcxxabi/libcxxabi-16.0.0.9999.ebuild')
-rw-r--r-- | sys-libs/libcxxabi/libcxxabi-16.0.0.9999.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-libs/libcxxabi/libcxxabi-16.0.0.9999.ebuild b/sys-libs/libcxxabi/libcxxabi-16.0.0.9999.ebuild index 78be4b5b862f..130101c20cb9 100644 --- a/sys-libs/libcxxabi/libcxxabi-16.0.0.9999.ebuild +++ b/sys-libs/libcxxabi/libcxxabi-16.0.0.9999.ebuild @@ -21,14 +21,13 @@ RESTRICT="!test? ( test )" RDEPEND+=" !<sys-libs/libcxx-15 " -LLVM_MAX_SLOT=${PV%%.*} DEPEND=" ${RDEPEND} - sys-devel/llvm:${LLVM_MAX_SLOT} + sys-devel/llvm:${LLVM_MAJOR} " BDEPEND=" clang? ( - sys-devel/clang:${LLVM_MAX_SLOT} + sys-devel/clang:${LLVM_MAJOR} ) !test? ( ${PYTHON_DEPS} @@ -51,7 +50,7 @@ pkg_setup() { # darwin prefix builds do not have llvm installed yet, so rely on bootstrap-prefix # to set the appropriate path vars to LLVM instead of using llvm_pkg_setup. if [[ ${CHOST} != *-darwin* ]] || has_version dev-lang/llvm; then - llvm_pkg_setup + LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup fi python-any-r1_pkg_setup } |