summaryrefslogtreecommitdiff
path: root/www-client
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-04-22 20:47:54 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-04-22 20:47:54 +0100
commit7b69774cf69724a0118a89a6ba7ad48ee81cac09 (patch)
tree96238e0313e9543a08079c07bb0d490404cd7569 /www-client
parentc093cf3745dfc31047dee254c1babc4d633531d6 (diff)
fix firefox pgo doesn't build in chroot for lack of dri stuff
Diffstat (limited to 'www-client')
-rw-r--r--www-client/firefox/firefox-45.0.ebuild14
1 files changed, 0 insertions, 14 deletions
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}" \