www/firefox: depend on libepoll-shim

libxul.so clearly links against libepoll-shim, and we have reports
of firefox failing to start without libepoll-shim. this also affects
mail/thunderbird (once we land it), so fix the problem in bsd.gecko.mk.
First reports are against firefox 90, set the version cutoff
accordingly.

PR:		257490
Reported by:	Maxim Filimonov

(cherry picked from commit f9af88868d)
This commit is contained in:
Christoph Moench-Tegeder 2021-08-14 23:13:09 +02:00
parent 6fc584485b
commit ddd062a23c
2 changed files with 4 additions and 1 deletions

View File

@ -85,6 +85,9 @@ LIB_DEPENDS+= libdrm.so:graphics/libdrm
.if ${MOZILLA_VER:R:R} >= 85
RUN_DEPENDS+= ${LOCALBASE}/lib/libpci.so:devel/libpci
.endif
.if ${MOZILLA_VER:R:R} >= 90
LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
.endif
MOZ_EXPORT+= ${CONFIGURE_ENV} \
PERL="${PERL}" \
PYTHON3="${PYTHON_CMD}" \

View File

@ -2,7 +2,7 @@
PORTNAME= firefox
DISTVERSION= 91.0
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= www
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \