From f8ba9d608e12c3def4fa955c71dd41520c0e3c0f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 13 Aug 2015 21:32:37 +0100 Subject: completely fix lack of dri in chroot, when building firefox with PGO --- www-client/firefox/firefox-38.1.0.ebuild | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'www-client/firefox') 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" -- cgit v1.2.3