aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-06-22 09:19:28 +0800
committerjbeich <jbeich@FreeBSD.org>2017-06-22 09:19:28 +0800
commit3435fadd57345c97fa09647099fe8cd846d411be (patch)
tree1b7ba00414ae29252aa052087e5df9aa10e98ee3 /Mk
parente94f57fb1b37051d08a8ad4f425f82c24746b5ba (diff)
downloadfreebsd-ports-graphics-3435fadd57345c97fa09647099fe8cd846d411be.tar.gz
freebsd-ports-graphics-3435fadd57345c97fa09647099fe8cd846d411be.tar.zst
freebsd-ports-graphics-3435fadd57345c97fa09647099fe8cd846d411be.zip
gecko: phase out system jemalloc via 12.0-CURRENT as well
https://bugzilla.mozilla.org/show_bug.cgi?id=1363992 PR: 220027
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gecko.mk12
1 files changed, 2 insertions, 10 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index 7884d4e6a27..11c1f4519f7 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -139,18 +139,10 @@ MOZ_MK_OPTIONS+=MOZ_OBJDIR="${MOZ_OBJDIR}"
LDFLAGS+= -Wl,--as-needed
-.if ${MOZILLA_VER:R:R} < 55
-.if ${OPSYS} != DragonFly # XXX xpcshell crash during install
+.if ${MOZILLA_VER:R:R} < 55 && ${OPSYS} == FreeBSD && ${OSVERSION} < 1200032
# use jemalloc 3.0.0 (4.0 for firefox 43+) API for stats/tuning
-MOZ_EXPORT+= MOZ_JEMALLOC3=1 MOZ_JEMALLOC4=1
-.if ${OPSYS} != FreeBSD || ${MOZILLA_VER:R:R} >= 37
-. if ${MOZILLA_VER:R:R} >= 48
+MOZ_EXPORT+= MOZ_JEMALLOC4=1
MOZ_OPTIONS+= --enable-jemalloc=4
-.else
-MOZ_OPTIONS+= --enable-jemalloc
-. endif
-.endif
-.endif # !DragonFly
.endif # Mozilla < 55
# Standard depends