diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2025-01-28 13:04:25 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2025-01-29 16:57:00 +0000 |
commit | 282057dc986bcf16e4cd18c2072954defde8976f (patch) | |
tree | 149922e94b9b5a9668d33f2242894cf49b6cfbe6 /www | |
parent | 39be46e16468c826402f73ad1024f81cc17e459d (diff) |
Diffstat (limited to 'www')
-rw-r--r-- | www/firefox-esr/Makefile | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile index 01acae15ff2c..86ced1348738 100644 --- a/www/firefox-esr/Makefile +++ b/www/firefox-esr/Makefile @@ -1,5 +1,6 @@ PORTNAME= firefox DISTVERSION= 128.7.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www wayland MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \ @@ -25,7 +26,10 @@ BUILD_DEPENDS= nspr>=4.32:devel/nspr \ autoconf2.13:devel/autoconf2.13 \ nasm:devel/nasm \ yasm:devel/yasm \ - zip:archivers/zip + zip:archivers/zip \ + ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc++abi.a:devel/wasi-libcxx${LLVM_VERSION} \ + ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc.a:devel/wasi-libc@${LLVM_VERSION} \ + wasi-compiler-rt${LLVM_VERSION}>0:devel/wasi-compiler-rt${LLVM_VERSION} USE_GECKO= gecko CPE_PRODUCT= ${PORTNAME}_esr @@ -40,21 +44,11 @@ FIREFOX_ICON= ${MOZILLA}.png FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png FIREFOX_DESKTOP= ${MOZSRC}/taskcluster/docker/${MOZILLA}-snap/${MOZILLA}.desktop MOZ_OPTIONS= --enable-application=browser \ - --enable-official-branding + --enable-official-branding \ + --with-wasi-sysroot=${LOCALBASE}/share/wasi-sysroot .include "${.CURDIR}/../../www/firefox/Makefile.options" -.include <bsd.port.options.mk> - -.if ${ARCH} == powerpc64 -MOZ_OPTIONS+= --without-wasm-sandboxed-libraries -.else -BUILD_DEPENDS+= ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc++abi.a:devel/wasi-libcxx${LLVM_VERSION} \ - ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc.a:devel/wasi-libc@${LLVM_VERSION} \ - wasi-compiler-rt${LLVM_VERSION}>0:devel/wasi-compiler-rt${LLVM_VERSION} -MOZ_OPTIONS+= --with-wasi-sysroot=${LOCALBASE}/share/wasi-sysroot -.endif - post-patch: @${REINPLACE_CMD} -e 's/%u/%U/' -e '/X-MultipleArgs/d' \ -e '/^Icon/s/=.*/=${FIREFOX_ICON:R}/' \ |