diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-06-23 12:47:52 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-06-23 12:47:52 +0800 |
commit | 358834cf9bdbcb8d0d905f63a6e1e564c04c293c (patch) | |
tree | 98b064255b784cf3162920d97e078cbdcfe05118 | |
parent | 8e9cb30bd4648f5f7b503e388c1554bd1ce6fcda (diff) | |
download | freebsd-ports-gnome-358834cf9bdbcb8d0d905f63a6e1e564c04c293c.tar.gz freebsd-ports-gnome-358834cf9bdbcb8d0d905f63a6e1e564c04c293c.tar.zst freebsd-ports-gnome-358834cf9bdbcb8d0d905f63a6e1e564c04c293c.zip |
www/libxul: unbreak on FreeBSD < 12.0 after r444091
configure: error: Option, jemalloc, does not take an argument (4).
Reported by: George Mitchell (via ports@ list)
-rw-r--r-- | Mk/bsd.gecko.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk index 11c1f4519f7e..09b055780e6c 100644 --- a/Mk/bsd.gecko.mk +++ b/Mk/bsd.gecko.mk @@ -142,7 +142,11 @@ LDFLAGS+= -Wl,--as-needed .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_JEMALLOC4=1 +.if ${MOZILLA_VER:R:R} >= 48 MOZ_OPTIONS+= --enable-jemalloc=4 +.elif ${OSVERSION} < 1100079 +MOZ_OPTIONS+= --enable-jemalloc +.endif # Mozilla >= 48 .endif # Mozilla < 55 # Standard depends |