1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

www/firefox: depend on libpci to qualify for WebRender by default

On Intel Skylake this enables WebRender for Xorg and Wayland (wlroots).
Xwayland isn't qualified yet but Firefox can be tricked by unsetting
WAYLAND_DISPLAY or simply switching to native via MOZ_ENABLE_WAYLAND.

PR:		255344
Reported by:	Evgeniy Khramtsov (via gecko@ list)
This commit is contained in:
Jan Beich 2021-05-30 14:20:26 +00:00
parent 36063d2e7b
commit f079b462f8
2 changed files with 4 additions and 1 deletions

View File

@ -79,6 +79,9 @@ BUILD_DEPENDS+= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} \
${RUST_DEFAULT}>=1.52.1:lang/${RUST_DEFAULT} \
node:www/node
LIB_DEPENDS+= libdrm.so:graphics/libdrm
.if ${MOZILLA_VER:R:R} >= 85
RUN_DEPENDS+= ${LOCALBASE}/lib/libpci.so:devel/libpci
.endif
MOZ_EXPORT+= ${CONFIGURE_ENV} \
PERL="${PERL}" \
PYTHON3="${PYTHON_CMD}" \

View File

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