summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-08-13 21:32:37 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-08-13 21:32:37 +0100
commitf8ba9d608e12c3def4fa955c71dd41520c0e3c0f (patch)
tree1f58e892d986abd3daea4c3124a6a33e01e16201
parent2af04c3a9449e0be2730f0c9f563b15c1b1ef0a6 (diff)
completely fix lack of dri in chroot, when building firefox with PGO
-rw-r--r--www-client/firefox/firefox-38.1.0.ebuild14
1 files changed, 0 insertions, 14 deletions
diff --git a/www-client/firefox/firefox-38.1.0.ebuild b/www-client/firefox/firefox-38.1.0.ebuild
index 247dc0ca..37e1cb80 100644
--- a/www-client/firefox/firefox-38.1.0.ebuild
+++ b/www-client/firefox/firefox-38.1.0.ebuild
@@ -263,20 +263,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
-
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \
Xemake -f client.mk profiledbuild || die "Xemake failed"