Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/
Date: Fri, 02 Oct 2020 19:25:03
Message-Id: 1601666693.588af89aae206ad01a2b80248e993d92b25084fe.whissi@gentoo
1 commit: 588af89aae206ad01a2b80248e993d92b25084fe
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 2 19:22:31 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 2 19:24:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=588af89a
7
8 www-client/firefox: USE=debug implies --enable-debug-symbols
9
10 Bug: https://bugs.gentoo.org/746131
11 Package-Manager: Portage-3.0.8, Repoman-3.0.1
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 www-client/firefox/firefox-78.3.1.ebuild | 8 +-------
15 www-client/firefox/firefox-81.0.1.ebuild | 8 +-------
16 2 files changed, 2 insertions(+), 14 deletions(-)
17
18 diff --git a/www-client/firefox/firefox-78.3.1.ebuild b/www-client/firefox/firefox-78.3.1.ebuild
19 index b5f29994dff..3e0f59ad97a 100644
20 --- a/www-client/firefox/firefox-78.3.1.ebuild
21 +++ b/www-client/firefox/firefox-78.3.1.ebuild
22 @@ -557,16 +557,10 @@ src_configure() {
23
24 mozconfig_use_enable debug
25 if use debug ; then
26 - if is-flag '-g*' ; then
27 - mozconfig_add_options_ac '+debug' --enable-debug-symbols=$(get-flag '-g*')
28 - else
29 - mozconfig_add_options_ac '+debug' --enable-debug-symbols
30 - fi
31 -
32 mozconfig_add_options_ac '+debug' --disable-optimize
33 else
34 if is-flag '-g*' ; then
35 - mozconfig_add_options_ac '+debug' --enable-debug-symbols=$(get-flag '-g*')
36 + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
37 else
38 mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols
39 fi
40
41 diff --git a/www-client/firefox/firefox-81.0.1.ebuild b/www-client/firefox/firefox-81.0.1.ebuild
42 index 986291f0ae3..eb407d1a1c9 100644
43 --- a/www-client/firefox/firefox-81.0.1.ebuild
44 +++ b/www-client/firefox/firefox-81.0.1.ebuild
45 @@ -557,16 +557,10 @@ src_configure() {
46
47 mozconfig_use_enable debug
48 if use debug ; then
49 - if is-flag '-g*' ; then
50 - mozconfig_add_options_ac '+debug' --enable-debug-symbols=$(get-flag '-g*')
51 - else
52 - mozconfig_add_options_ac '+debug' --enable-debug-symbols
53 - fi
54 -
55 mozconfig_add_options_ac '+debug' --disable-optimize
56 else
57 if is-flag '-g*' ; then
58 - mozconfig_add_options_ac '+debug' --enable-debug-symbols=$(get-flag '-g*')
59 + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
60 else
61 mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols
62 fi