From 7b69774cf69724a0118a89a6ba7ad48ee81cac09 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 22 Apr 2016 20:47:54 +0100 Subject: fix firefox pgo doesn't build in chroot for lack of dri stuff --- www-client/firefox/firefox-45.0.ebuild | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'www-client/firefox/firefox-45.0.ebuild') diff --git a/www-client/firefox/firefox-45.0.ebuild b/www-client/firefox/firefox-45.0.ebuild index c73aca22..9897a37f 100644 --- a/www-client/firefox/firefox-45.0.ebuild +++ b/www-client/firefox/firefox-45.0.ebuild @@ -242,20 +242,6 @@ src_compile() { # Reset and cleanup environment variables used by GNOME/XDG gnome2_environment_reset - # Firefox tries to use dri stuff when it's run, see bug 380283 - shopt -s nullglob - cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') - if test -z "${cards}"; then - cards=$(echo -n /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g') - if test -n "${cards}"; then - # Binary drivers seem to cause access violations anyway, so - # let's use indirect rendering so that the device files aren't - # touched at all. See bug 394715. - export LIBGL_ALWAYS_INDIRECT=1 - fi - fi - shopt -u nullglob - addpredict "${cards}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \ MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \ -- cgit v1.2.3