commit:     e3ea67130e44415ed7f556427d3782d661b53b01
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 20 14:03:06 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Sep 20 14:04:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3ea6713

dev-lang/spidermonkey: clang is not needed to build spidermonkey

Closes: https://bugs.gentoo.org/740890
Closes: https://bugs.gentoo.org/743241
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-lang/spidermonkey/spidermonkey-78.2.0.ebuild | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/dev-lang/spidermonkey/spidermonkey-78.2.0.ebuild 
b/dev-lang/spidermonkey/spidermonkey-78.2.0.ebuild
index 63a601bf338..00c79aef9f1 100644
--- a/dev-lang/spidermonkey/spidermonkey-78.2.0.ebuild
+++ b/dev-lang/spidermonkey/spidermonkey-78.2.0.ebuild
@@ -7,9 +7,7 @@ PYTHON_COMPAT=( python3_{6..9} )
 
 WANT_AUTOCONF="2.1"
 
-LLVM_MAX_SLOT=10
-
-inherit autotools check-reqs llvm multiprocessing python-any-r1 toolchain-funcs
+inherit autotools check-reqs multiprocessing python-any-r1 toolchain-funcs
 
 MY_PN="mozjs"
 MY_PV="${PV/_pre*}" # Handle Gentoo pre-releases
@@ -60,7 +58,7 @@ IUSE="cpu_flags_arm_neon debug +jit test"
 RESTRICT="!test? ( test )"
 
 BDEPEND="${PYTHON_DEPS}
-       sys-devel/clang
+       sys-devel/llvm
        >=virtual/rust-1.41.0
        virtual/pkgconfig"
 
@@ -78,15 +76,6 @@ RDEPEND="${CDEPEND}"
 
 S="${WORKDIR}/firefox-${MY_PV}/js/src"
 
-llvm_check_deps() {
-       if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
-               ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM 
slot ${LLVM_SLOT} ..." >&2
-               return 1
-       fi
-
-       einfo "Will use LLVM slot ${LLVM_SLOT}!" >&2
-}
-
 python_check_deps() {
        if use test ; then
                has_version "dev-python/six[${PYTHON_USEDEP}]"

Reply via email to