summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/tor-browser/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/www/tor-browser/Makefile b/www/tor-browser/Makefile
index 76548cb2b9cc..5ef11b7e4cdf 100644
--- a/www/tor-browser/Makefile
+++ b/www/tor-browser/Makefile
@@ -37,7 +37,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= nspr>=4.32:devel/nspr \
nss>=3.101:security/nss \
- icu>=73.1,1:devel/icu \
+ icu>=76.1:devel/icu \
libevent>=2.1.8:devel/libevent \
harfbuzz>=8.5.0:print/harfbuzz \
graphite2>=1.3.14:graphics/graphite2 \
@@ -48,13 +48,14 @@ BUILD_DEPENDS= nspr>=4.32:devel/nspr \
v4l_compat>0:multimedia/v4l_compat \
autoconf2.13:devel/autoconf2.13 \
nasm:devel/nasm \
+ node${NODEJS_VERSION}>=24:www/node${NODEJS_VERSION} \
yasm:devel/yasm
RUN_DEPENDS= tor:security/tor \
obfs4proxy:security/obfs4proxy-tor \
snowflake-client:security/snowflake-tor
-USES= compiler:c++11-lib libtool localbase:ldflags perl5 pkgconfig \
- python shebangfix tar:xz
+USES= compiler:c++11-lib libtool localbase:ldflags nodejs:24,build,env \
+ perl5 pkgconfig python shebangfix tar:xz
USE_GECKO= gecko
USE_GITHUB= nodefault
TAG_L10N= fcd0300e8478d1ec4d1c097a073ddb8e1e0351e3
@@ -105,6 +106,12 @@ MOZ_OPTIONS= --with-base-browser-version=${DISTVERSION} \
.include <bsd.port.options.mk>
+.if ${ARCH} == i386 && ${MACHINE_CPU:Msse2}
+# is not enabled on i386 by default
+# Fix for error: always_inline function '_mm_setzero_si64' requires target feature 'sse2'
+CFLAGS_i386+= -msse2
+.endif
+
.if ${ARCH} == amd64
MOZ_OPTIONS+= --enable-rust-simd
.endif