svn commit: r481071 - in head: Mk mail/thunderbird www/firefox www/firefox-esr
Jan Beich
jbeich at FreeBSD.org
Mon Oct 1 21:37:16 UTC 2018
Author: jbeich
Date: Mon Oct 1 21:37:14 2018
New Revision: 481071
URL: https://svnweb.freebsd.org/changeset/ports/481071
Log:
gecko: switch to clang70
Standardizing on one Clang version makes stability more predictable
across supported FreeBSD versions. As a side effect performance may
suffer some improvement. This also makes it easier to enable LTO as
old LLD versions are more buggy.
Modified:
head/Mk/bsd.gecko.mk (contents, props changed)
head/mail/thunderbird/Makefile (contents, props changed)
head/www/firefox-esr/Makefile (contents, props changed)
head/www/firefox/Makefile (contents, props changed)
head/www/firefox/Makefile.options (contents, props changed)
Modified: head/Mk/bsd.gecko.mk
==============================================================================
--- head/Mk/bsd.gecko.mk Mon Oct 1 21:36:55 2018 (r481070)
+++ head/Mk/bsd.gecko.mk Mon Oct 1 21:37:14 2018 (r481071)
@@ -105,6 +105,14 @@ USE_XORG+= xcb
LLVM_DEFAULT?= 70
BUILD_DEPENDS+= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
MOZ_EXPORT+= LLVM_CONFIG=llvm-config${LLVM_DEFAULT}
+# Require newer Clang than what's in base system unless user opted out
+. if ${CC} == cc && ${CXX} == c++ && exists(/usr/lib/libc++.so)
+BUILD_DEPENDS+= ${LOCALBASE}/bin/clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
+CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT}
+CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT}
+CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT}
+USES:= ${USES:Ncompiler\:*} # XXX avoid warnings
+. endif
.endif
.if ${MOZILLA_VER:R:R} >= 61
Modified: head/mail/thunderbird/Makefile
==============================================================================
--- head/mail/thunderbird/Makefile Mon Oct 1 21:36:55 2018 (r481070)
+++ head/mail/thunderbird/Makefile Mon Oct 1 21:37:14 2018 (r481071)
@@ -3,7 +3,7 @@
PORTNAME= thunderbird
DISTVERSION= 60.1.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail news net-im ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source
Modified: head/www/firefox-esr/Makefile
==============================================================================
--- head/www/firefox-esr/Makefile Mon Oct 1 21:36:55 2018 (r481070)
+++ head/www/firefox-esr/Makefile Mon Oct 1 21:37:14 2018 (r481071)
@@ -3,7 +3,7 @@
PORTNAME= firefox
DISTVERSION= 60.2.1
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \
Modified: head/www/firefox/Makefile
==============================================================================
--- head/www/firefox/Makefile Mon Oct 1 21:36:55 2018 (r481070)
+++ head/www/firefox/Makefile Mon Oct 1 21:37:14 2018 (r481071)
@@ -3,7 +3,7 @@
PORTNAME= firefox
DISTVERSION= 62.0.2
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
Modified: head/www/firefox/Makefile.options
==============================================================================
--- head/www/firefox/Makefile.options Mon Oct 1 21:36:55 2018 (r481070)
+++ head/www/firefox/Makefile.options Mon Oct 1 21:37:14 2018 (r481071)
@@ -19,6 +19,11 @@ JACK_IMPLIES= ALSA
OPTIONS_EXCLUDE+= DTRACE
.endif
+# dtrace -G crashes with clang++70 (conditional from Mk/bsd.gecko.mk)
+.if ${CC} == cc && ${CXX} == c++ && exists(/usr/lib/libc++.so)
+OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
+.endif
+
# opensolaris/lib/libdtrace/common/dt_link.c:
# <arch> not implemented
# failed to allocate space for probe
More information about the svn-ports-all
mailing list