aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2012-10-12 17:08:22 +0800
committerflo <flo@FreeBSD.org>2012-10-12 17:08:22 +0800
commit88c83a21f0f4d4c20d84a51edc78b5e763968ad8 (patch)
treed13440df3b51c11bdd9e30aeda2a15f220cc636c /Mk
parentc469881b49b56bad014e4abc5b284442eeb31508 (diff)
downloadfreebsd-ports-gnome-88c83a21f0f4d4c20d84a51edc78b5e763968ad8.tar.gz
freebsd-ports-gnome-88c83a21f0f4d4c20d84a51edc78b5e763968ad8.tar.zst
freebsd-ports-gnome-88c83a21f0f4d4c20d84a51edc78b5e763968ad8.zip
- update {thunderbird,firefox}-esr* and libxul to 10.0.9
- use bundled jemalloc since 7.2 [1] - avoid thread-local variables before 8.3, 9.1, 10.0, to avoid crashes [2] - bump PORTREVISION on mail/thunderbird and www/firefox for the TLS fixes Security: 6e5a9afd-12d3-11e2-b47d-c8600054b392 Reported by: angelv <angelvg@gmail.com>, Hanno Krusken<ix260@yahoo.co.uk> [2] Reference: http://svnweb.freebsd.org/changeset/base/225582 [2] Submitted by: Jan Beich <jbeich@tormail.org> [1], [2] Feature safe: yes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gecko.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index c7763c4e1bb2..d7febeb00386 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -555,15 +555,18 @@ LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH}
.if ${OSVERSION} > 1000011
# use jemalloc 3.0.0 API in libc
MOZ_EXPORT+= MOZ_JEMALLOC=1
-.elif ${OSVERSION} > 800004
+.elif ${OSVERSION} > 701106
MOZ_OPTIONS+= --enable-jemalloc
MOZ_EXPORT+= MOZ_JEMALLOC=1
-.elif ${OSVERSION} > 700101
-# has _pthread_mutex_init_calloc_cb but firefox crashes when jemalloc
-# configured without --enable-debug
.endif
.endif
+.if (${OSVERSION} >= 900000 && ${OSVERSION} < 900045) \
+ || ${OSVERSION} < 802513
+MOZ_EXPORT+= ac_cv_thread_keyword=no \
+ je_cv_tls_model=no
+.endif
+
# Standard depends
_ALL_DEPENDS= cairo dbm event ffi hunspell jpeg nspr nss png sqlite vpx zip