diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-05-08 21:18:10 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-05-08 21:20:56 +0200 |
commit | bbf71d409405483a3bce4780cca8a25c5d7fc942 (patch) | |
tree | 58320626ab81bb022b2c08f58d6d99fd7941dfe1 /dev-lang/spidermonkey | |
parent | dev-util/unifdef: Remove old 2.10, 2.11 (diff) | |
download | gentoo-bbf71d409405483a3bce4780cca8a25c5d7fc942.tar.gz gentoo-bbf71d409405483a3bce4780cca8a25c5d7fc942.tar.bz2 gentoo-bbf71d409405483a3bce4780cca8a25c5d7fc942.zip |
dev-lang/spidermonkey: check for sys-devel/llvm:$LLVM_SLOT in llvm_check_deps()
When we override llvm_check_deps(), we have to check for
sys-devel/llvm:$LLVM_SLOT on our own.
Thanks-to: David Michael <fedora.dm0@gmail.com>
Bug: https://bugs.gentoo.org/788763
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-lang/spidermonkey')
-rw-r--r-- | dev-lang/spidermonkey/spidermonkey-78.10.1.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-lang/spidermonkey/spidermonkey-78.10.1.ebuild b/dev-lang/spidermonkey/spidermonkey-78.10.1.ebuild index e5bacf41b892..b6cfe9ac6336 100644 --- a/dev-lang/spidermonkey/spidermonkey-78.10.1.ebuild +++ b/dev-lang/spidermonkey/spidermonkey-78.10.1.ebuild @@ -113,6 +113,11 @@ RDEPEND="${CDEPEND}" S="${WORKDIR}/firefox-${MY_PV}/js/src" llvm_check_deps() { + if ! has_version -b "sys-devel/llvm:${LLVM_SLOT}" ; then + ewarn "sys-devel/llvm:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + if use clang ; then 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 |