Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 May 2021 15:40:34 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: c6ce38ae4397 - 2021Q2 - www/firefox: depend on libpci to qualify for WebRender by default
Message-ID:  <202105301540.14UFeYrf024464@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2021Q2 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c6ce38ae4397e2e33b5d44bafbc558a3443ba33b

commit c6ce38ae4397e2e33b5d44bafbc558a3443ba33b
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-05-30 14:20:26 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-05-30 15:38:55 +0000

    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)
    
    (cherry picked from commit f079b462f891b1e5c2cec31ac1190c73c17b0054)
---
 Mk/bsd.gecko.mk      | 3 +++
 www/firefox/Makefile | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index 6a89b04159f4..42e0fddff3e5 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -79,6 +79,9 @@ BUILD_DEPENDS+=	llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} \
 				${RUST_DEFAULT}>=1.51.0: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}" \
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index fae52637c7c1..850c827c9513 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	firefox
 DISTVERSION=	89.0
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	2
 CATEGORIES=	www
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105301540.14UFeYrf024464>