commit:     125dfa502a876811160290cb21348daa26f81ce3
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 16 12:05:05 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Aug 16 12:05:05 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=125dfa50

www-client/firefox: re-enable USE=pgo for USE=wayland

Forcing GDK_BACKEND=x11 during build should be enough.

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 www-client/firefox/firefox-68.0.2.ebuild | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/www-client/firefox/firefox-68.0.2.ebuild 
b/www-client/firefox/firefox-68.0.2.ebuild
index 39bdfe00f4f..c3b6f387d56 100644
--- a/www-client/firefox/firefox-68.0.2.ebuild
+++ b/www-client/firefox/firefox-68.0.2.ebuild
@@ -169,10 +169,7 @@ DEPEND="${CDEPEND}
 
 # We use virtx eclass which cannot handle wayland
 REQUIRED_USE="wifi? ( dbus )
-       pgo? (
-               lto
-               !wayland
-       )"
+       pgo? ( lto )"
 
 S="${WORKDIR}/firefox-${PV%_*}"
 
@@ -259,7 +256,6 @@ src_unpack() {
 }
 
 src_prepare() {
-       use !wayland && rm -f "${WORKDIR}/firefox/2019_mozilla-bug1539471.patch"
        eapply "${WORKDIR}/firefox"
 
        # Allow user to apply any additional patches without modifing ebuild
@@ -586,8 +582,13 @@ src_compile() {
                addpredict /etc/gconf
        fi
 
-       MOZ_MAKE_FLAGS="${MAKEOPTS} -O" SHELL="${SHELL:-${EPREFIX}/bin/bash}" 
MOZ_NOSPAM=1 ${_virtx} \
-       ./mach build --verbose || die
+       GDK_BACKEND=x11 \
+               MOZ_MAKE_FLAGS="${MAKEOPTS} -O" \
+               SHELL="${SHELL:-${EPREFIX}/bin/bash}" \
+               MOZ_NOSPAM=1 \
+               ${_virtx} \
+               ./mach build --verbose \
+               || die
 }
 
 src_install() {

Reply via email to