From d786158dbadb65561d25a7c33be92959586b9da9 Mon Sep 17 00:00:00 2001 From: "Jory A. Pratt" Date: Mon, 18 Jun 2018 20:14:22 -0500 Subject: www-client/firefox: Fix llvm/clang detection for build, bug #658402 Thanks alexander@tsoy.me for his contribution. --- www-client/firefox/firefox-60.0.2.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'www-client') diff --git a/www-client/firefox/firefox-60.0.2.ebuild b/www-client/firefox/firefox-60.0.2.ebuild index 61c634ee7586..e6ad0fecb10f 100644 --- a/www-client/firefox/firefox-60.0.2.ebuild +++ b/www-client/firefox/firefox-60.0.2.ebuild @@ -29,8 +29,8 @@ MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases" MOZCONFIG_OPTIONAL_WIFI=1 -inherit check-reqs flag-o-matic toolchain-funcs eutils gnome2-utils mozconfig-v6.60 \ - pax-utils xdg-utils autotools mozlinguas-v2 +inherit check-reqs flag-o-matic toolchain-funcs eutils gnome2-utils llvm \ + mozconfig-v6.60 pax-utils xdg-utils autotools mozlinguas-v2 DESCRIPTION="Firefox Web Browser" HOMEPAGE="http://www.mozilla.com/firefox" @@ -78,6 +78,10 @@ if [[ -z $GMP_PLUGIN_LIST ]]; then GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm ) fi +llvm_check_deps() { + has_version "sys-devel/clang:${LLVM_SLOT}" +} + pkg_setup() { moz_pkgsetup @@ -99,6 +103,8 @@ pkg_setup() { fi addpredict /proc/self/oom_score_adj + + llvm_pkg_setup } pkg_pretend() { -- cgit v1.2.3-65-gdbad