Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 2021 17:55:54 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6ec985b72d58 - main - www/firefox: enable LTO by default on amd64
Message-ID:  <202105111755.14BHts6f077097@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ec985b72d587add0bd8692d3b9b2e6fab7e8714

commit 6ec985b72d587add0bd8692d3b9b2e6fab7e8714
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-05-06 16:15:10 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-05-11 17:52:58 +0000

    www/firefox: enable LTO by default on amd64
    
    Builds and works fine on 11.4, 12.2, 13.0, 14.0.
    
    MFH:            2021Q2
---
 www/firefox/Makefile         | 1 +
 www/firefox/Makefile.options | 1 +
 2 files changed, 2 insertions(+)

diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 260039da8804..708c98746909 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	firefox
 DISTVERSION=	88.0.1
+PORTREVISION=	1
 PORTEPOCH=	2
 CATEGORIES=	www
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
diff --git a/www/firefox/Makefile.options b/www/firefox/Makefile.options
index d5a417480eb3..5687477a34d7 100644
--- a/www/firefox/Makefile.options
+++ b/www/firefox/Makefile.options
@@ -5,6 +5,7 @@ OPTIONS_DEFINE+= 	CANBERRA DBUS DEBUG FFMPEG \
 
 OPTIONS_DEFAULT+=	DBUS FFMPEG OPTIMIZED_CFLAGS PROFILE \
 			${OPTIONS_GROUP_AUDIO:NALSA}
+OPTIONS_DEFAULT_amd64+=	${${DISTVERSION:R:R} >= 86:?LTO:}
 
 OPTIONS_GROUP+=		AUDIO
 OPTIONS_GROUP_AUDIO=	ALSA JACK PULSEAUDIO SNDIO



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105111755.14BHts6f077097>