git: 812e930920d4 - 2022Q2 - www/firefox{,-esr}, mail/thunderbird: remote LTO from default options

From: Christoph Moench-Tegeder <cmt_at_FreeBSD.org>
Date: Tue, 03 May 2022 16:36:49 UTC
The branch 2022Q2 has been updated by cmt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=812e930920d49995f6e18bb64446ebbf5d5c157d

commit 812e930920d49995f6e18bb64446ebbf5d5c157d
Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2022-05-03 16:27:01 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2022-05-03 16:36:14 +0000

    www/firefox{,-esr}, mail/thunderbird: remote LTO from default options
    
    When rust's internal LLVM does not match the LLVM used for building
    gecko ports, LTO-built binaries will be unstable, exhibit crashes
    and other undesirable behaviour. Rust 1.60 created such a situation.
    Disabling LTO will allow these ports to be used, and keeping it off
    will safe on build and debug time.
    
    (cherry picked from commit fc0a979a30ea24c8d28d8a3893bb5ac0549e56cb)
---
 mail/thunderbird/Makefile    | 2 +-
 www/firefox-esr/Makefile     | 1 +
 www/firefox/Makefile         | 2 +-
 www/firefox/Makefile.options | 2 --
 4 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile
index 679dfc9d0e24..3507408aac71 100644
--- a/mail/thunderbird/Makefile
+++ b/mail/thunderbird/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	thunderbird
 DISTVERSION=	91.9.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	mail news net-im
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
 		MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build3/source
diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile
index 357f6b0b0d37..12f4ace9f7b4 100644
--- a/www/firefox-esr/Makefile
+++ b/www/firefox-esr/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	firefox
 DISTVERSION=	91.9.0
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	www
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 3238983058ca..ae0b1ad6f1fb 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	firefox
 DISTVERSION=	100.0
-PORTREVISION=	1
+PORTREVISION=	3
 PORTEPOCH=	2
 CATEGORIES=	www
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
diff --git a/www/firefox/Makefile.options b/www/firefox/Makefile.options
index a277e8f44d1e..d5a417480eb3 100644
--- a/www/firefox/Makefile.options
+++ b/www/firefox/Makefile.options
@@ -5,8 +5,6 @@ OPTIONS_DEFINE+= 	CANBERRA DBUS DEBUG FFMPEG \
 
 OPTIONS_DEFAULT+=	DBUS FFMPEG OPTIMIZED_CFLAGS PROFILE \
 			${OPTIONS_GROUP_AUDIO:NALSA}
-OPTIONS_DEFAULT_aarch64+=	LTO
-OPTIONS_DEFAULT_amd64+=	LTO
 
 OPTIONS_GROUP+=		AUDIO
 OPTIONS_GROUP_AUDIO=	ALSA JACK PULSEAUDIO SNDIO