commit:     6525aee0eca76dc102c7d2cb16c5d95982288259
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  2 12:51:35 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Nov  2 12:52:25 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6525aee0

www-client/firefox: fix RESTRICT; Move REQUIRED_USE for readability

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

 www-client/firefox/firefox-68.2.0.ebuild | 9 ++++++---
 www-client/firefox/firefox-70.0.1.ebuild | 9 +++++----
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/www-client/firefox/firefox-68.2.0.ebuild 
b/www-client/firefox/firefox-68.2.0.ebuild
index 7c5b0d66a9e..0c4c46d373c 100644
--- a/www-client/firefox/firefox-68.2.0.ebuild
+++ b/www-client/firefox/firefox-68.2.0.ebuild
@@ -56,7 +56,12 @@ IUSE="bindist clang cpu_flags_x86_avx2 dbus debug eme-free 
geckodriver
        +screenshot selinux startup-notification +system-av1
        +system-harfbuzz +system-icu +system-jpeg +system-libevent
        +system-sqlite +system-libvpx +system-webp test wayland wifi"
-RESTRICT="!bindist? ( bindist )"
+
+REQUIRED_USE="pgo? ( lto )
+       wifi? ( dbus )"
+
+RESTRICT="!bindist? ( bindist )
+       !test? ( test )"
 
 PATCH_URIS=( 
https://dev.gentoo.org/~{anarchy,axs,polynomial-c,whissi}/mozilla/patchsets/${PATCH}.tar.xz
 )
 SRC_URI="${SRC_URI}
@@ -172,8 +177,6 @@ DEPEND="${CDEPEND}
                x86? ( >=dev-lang/nasm-2.13 )
        )"
 
-REQUIRED_USE="wifi? ( dbus )
-       pgo? ( lto )"
 
 S="${WORKDIR}/firefox-${PV%_*}"
 

diff --git a/www-client/firefox/firefox-70.0.1.ebuild 
b/www-client/firefox/firefox-70.0.1.ebuild
index e043eb80210..014e8e10c90 100644
--- a/www-client/firefox/firefox-70.0.1.ebuild
+++ b/www-client/firefox/firefox-70.0.1.ebuild
@@ -56,7 +56,11 @@ IUSE="bindist clang cpu_flags_x86_avx2 debug eme-free 
geckodriver
        +screenshot selinux startup-notification +system-av1
        +system-harfbuzz +system-icu +system-jpeg +system-libevent
        +system-sqlite +system-libvpx +system-webp test wayland wifi"
-RESTRICT="!bindist? ( bindist )"
+
+REQUIRED_USE="pgo? ( lto )"
+
+RESTRICT="!bindist? ( bindist )
+       !test? ( test )"
 
 PATCH_URIS=( 
https://dev.gentoo.org/~{anarchy,axs,polynomial-c,whissi}/mozilla/patchsets/${PATCH}.tar.xz
 )
 SRC_URI="${SRC_URI}
@@ -174,9 +178,6 @@ DEPEND="${CDEPEND}
                x86? ( >=dev-lang/nasm-2.13 )
        )"
 
-REQUIRED_USE="pgo? ( lto )"
-
-RESTRICT="!test? ( test )"
 
 S="${WORKDIR}/firefox-${PV%_*}"
 

Reply via email to