Sun Dec 11 21:06:32 2022 UTC ()
firefox: 107.0.1 requries nss>=3.84.


(tsutsui)
diff -r1.244 -r1.245 pkgsrc/www/firefox/mozilla-common.mk

cvs diff -r1.244 -r1.245 pkgsrc/www/firefox/mozilla-common.mk (switch to unified diff)

--- pkgsrc/www/firefox/mozilla-common.mk 2022/12/11 19:35:15 1.244
+++ pkgsrc/www/firefox/mozilla-common.mk 2022/12/11 21:06:32 1.245
@@ -1,241 +1,241 @@ @@ -1,241 +1,241 @@
1# $NetBSD: mozilla-common.mk,v 1.244 2022/12/11 19:35:15 tnn Exp $ 1# $NetBSD: mozilla-common.mk,v 1.245 2022/12/11 21:06:32 tsutsui Exp $
2# 2#
3# common Makefile fragment for mozilla packages based on gecko 2.0. 3# common Makefile fragment for mozilla packages based on gecko 2.0.
4# 4#
5# used by www/firefox/Makefile 5# used by www/firefox/Makefile
6 6
7.include "../../mk/bsd.prefs.mk" 7.include "../../mk/bsd.prefs.mk"
8 8
9PYTHON_VERSIONS_INCOMPATIBLE= 27 9PYTHON_VERSIONS_INCOMPATIBLE= 27
10# ERROR: .../firefox-105.0.3/xpcom/idl-parser/xpidl/xpidl.py:1620: Invalid regular expression for rule 't_multilinecomment'. global flags not at the start of the expression at position 26 10# ERROR: .../firefox-105.0.3/xpcom/idl-parser/xpidl/xpidl.py:1620: Invalid regular expression for rule 't_multilinecomment'. global flags not at the start of the expression at position 26
11# ERROR: .../firefox/work/firefox-105.0.3/xpcom/idl-parser/xpidl/xpidl.py:1626: Invalid regular expression for rule 't_singlelinecomment'. global flags not at the start of the expression at position 24 11# ERROR: .../firefox/work/firefox-105.0.3/xpcom/idl-parser/xpidl/xpidl.py:1626: Invalid regular expression for rule 't_singlelinecomment'. global flags not at the start of the expression at position 24
12# ERROR: .../firefox/work/firefox-105.0.3/xpcom/idl-parser/xpidl/xpidl.py:1639: Invalid regular expression for rule 't_LCDATA'. global flags not at the start of the expression at position 13 12# ERROR: .../firefox/work/firefox-105.0.3/xpcom/idl-parser/xpidl/xpidl.py:1639: Invalid regular expression for rule 't_LCDATA'. global flags not at the start of the expression at position 13
13# leading to: 13# leading to:
14# SyntaxError: Can't build lexer 14# SyntaxError: Can't build lexer
15PYTHON_VERSIONS_INCOMPATIBLE+= 311 15PYTHON_VERSIONS_INCOMPATIBLE+= 311
16PYTHON_FOR_BUILD_ONLY= tool 16PYTHON_FOR_BUILD_ONLY= tool
17ALL_ENV+= PYTHON3=${PYTHONBIN} 17ALL_ENV+= PYTHON3=${PYTHONBIN}
18 18
19HAS_CONFIGURE= yes 19HAS_CONFIGURE= yes
20CONFIGURE_ARGS+= --prefix=${PREFIX} 20CONFIGURE_ARGS+= --prefix=${PREFIX}
21USE_TOOLS+= pkg-config perl gmake gm4 unzip zip # autoconf213 21USE_TOOLS+= pkg-config perl gmake gm4 unzip zip # autoconf213
22UNLIMIT_RESOURCES+= datasize virtualsize 22UNLIMIT_RESOURCES+= datasize virtualsize
23 23
24USE_LANGUAGES+= c c++ 24USE_LANGUAGES+= c c++
25 25
26# ERROR: Only GCC 7.1 or newer is supported (found version 5.5.0). 26# ERROR: Only GCC 7.1 or newer is supported (found version 5.5.0).
27GCC_REQD+= 7 27GCC_REQD+= 7
28 28
29TOOL_DEPENDS+= cbindgen>=0.24.3:../../devel/cbindgen 29TOOL_DEPENDS+= cbindgen>=0.24.3:../../devel/cbindgen
30 30
31.if defined(FIREFOX_MAINTAINER) && !defined(MAINTAINER_INTERNAL) 31.if defined(FIREFOX_MAINTAINER) && !defined(MAINTAINER_INTERNAL)
32TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs 32TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs
33USE_TOOLS+= diff 33USE_TOOLS+= diff
34.else 34.else
35CONFIGURE_ENV+= NODEJS="${FILESDIR}/node-wrapper.sh" 35CONFIGURE_ENV+= NODEJS="${FILESDIR}/node-wrapper.sh"
36.endif 36.endif
37 37
38TOOL_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 38TOOL_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
39TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat 39TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
40 40
41.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 41.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
42TOOL_DEPENDS+= nasm>=2.14:../../devel/nasm 42TOOL_DEPENDS+= nasm>=2.14:../../devel/nasm
43TOOL_DEPENDS+= yasm>=1.1:../../devel/yasm 43TOOL_DEPENDS+= yasm>=1.1:../../devel/yasm
44CFLAGS+= -msse2 44CFLAGS+= -msse2
45.endif 45.endif
46 46
47# This is to work around build failures where an upstream configuration script 47# This is to work around build failures where an upstream configuration script
48# is confused by having more than one approximate match to MACHINE_GNU_PLATFORM 48# is confused by having more than one approximate match to MACHINE_GNU_PLATFORM
49# "i486" when attempting to select the Rust compiler target. 49# "i486" when attempting to select the Rust compiler target.
50.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) 50.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386)
51CONFIGURE_ARGS+= --target=i586-unknown-netbsd 51CONFIGURE_ARGS+= --target=i586-unknown-netbsd
52CONFIGURE_ARGS+= --host=i586-unknown-netbsd 52CONFIGURE_ARGS+= --host=i586-unknown-netbsd
53.else 53.else
54CONFIGURE_ARGS+= --target=${MACHINE_GNU_PLATFORM} 54CONFIGURE_ARGS+= --target=${MACHINE_GNU_PLATFORM}
55CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM} 55CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM}
56.endif 56.endif
57 57
58CONFIGURE_ENV+= BINDGEN_CFLAGS="-isystem${PREFIX}/include/nspr \ 58CONFIGURE_ENV+= BINDGEN_CFLAGS="-isystem${PREFIX}/include/nspr \
59 -isystem${X11BASE}/include/pixman-1" 59 -isystem${X11BASE}/include/pixman-1"
60 60
61do-test: 61do-test:
62 cd ${WRKSRC}/${OBJDIR}/dist/bin && \ 62 cd ${WRKSRC}/${OBJDIR}/dist/bin && \
63 ./run-mozilla.sh ${WRKSRC}/mach check-spidermonkey 63 ./run-mozilla.sh ${WRKSRC}/mach check-spidermonkey
64 64
65# tar(1) of OpenBSD 5.5 has no --exclude command line option. 65# tar(1) of OpenBSD 5.5 has no --exclude command line option.
66.if ${OPSYS} == "OpenBSD" 66.if ${OPSYS} == "OpenBSD"
67TOOLS_PLATFORM.tar= ${TOOLS_PATH.bsdtar} 67TOOLS_PLATFORM.tar= ${TOOLS_PATH.bsdtar}
68USE_TOOLS+= bsdtar 68USE_TOOLS+= bsdtar
69.else 69.else
70USE_TOOLS+= tar 70USE_TOOLS+= tar
71.endif 71.endif
72 72
73.if ${MACHINE_ARCH} == "i386" 73.if ${MACHINE_ARCH} == "i386"
74# This is required for SSE2 code under i386. 74# This is required for SSE2 code under i386.
75CXXFLAGS+= -mstackrealign 75CXXFLAGS+= -mstackrealign
76.endif 76.endif
77 77
78CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}security/nss/tests/*/*.sh 78CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}security/nss/tests/*/*.sh
79CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}js/src/tests/update-test262.sh 79CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}js/src/tests/update-test262.sh
80CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}intl/icu/source/configure 80CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}intl/icu/source/configure
81CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}browser/components/loop/run-all-loop-tests.sh 81CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}browser/components/loop/run-all-loop-tests.sh
82CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}browser/extensions/loop/run-all-loop-tests.sh 82CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}browser/extensions/loop/run-all-loop-tests.sh
83CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}third_party/libwebrtc/tools_webrtc/iwyu/apply-iwyu 83CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}third_party/libwebrtc/tools_webrtc/iwyu/apply-iwyu
84 84
85CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk3 85CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk3
86CONFIGURE_ARGS+= --enable-release 86CONFIGURE_ARGS+= --enable-release
87# Disable Rust SIMD option to fix build with lang/rust-1.33.0 87# Disable Rust SIMD option to fix build with lang/rust-1.33.0
88# This should be enabled later again. 88# This should be enabled later again.
89#CONFIGURE_ARGS+= --enable-rust-simd 89#CONFIGURE_ARGS+= --enable-rust-simd
90CONFIGURE_ARGS+= --disable-tests 90CONFIGURE_ARGS+= --disable-tests
91# Mozilla Bug 1432751 91# Mozilla Bug 1432751
92#CONFIGURE_ARGS+= --enable-system-cairo 92#CONFIGURE_ARGS+= --enable-system-cairo
93CONFIGURE_ARGS+= --enable-system-pixman 93CONFIGURE_ARGS+= --enable-system-pixman
94# webrtc option requires internal libvpx 94# webrtc option requires internal libvpx
95#CONFIGURE_ARGS+= --with-system-libvpx 95#CONFIGURE_ARGS+= --with-system-libvpx
96CONFIGURE_ARGS+= --enable-system-ffi 96CONFIGURE_ARGS+= --enable-system-ffi
97CONFIGURE_ARGS+= --with-system-icu 97CONFIGURE_ARGS+= --with-system-icu
98CONFIGURE_ARGS+= --with-system-nss 98CONFIGURE_ARGS+= --with-system-nss
99CONFIGURE_ARGS+= --with-system-nspr 99CONFIGURE_ARGS+= --with-system-nspr
100#CONFIGURE_ARGS+= --with-system-jpeg 100#CONFIGURE_ARGS+= --with-system-jpeg
101CONFIGURE_ARGS+= --with-system-zlib 101CONFIGURE_ARGS+= --with-system-zlib
102CONFIGURE_ARGS+= --with-system-libevent 102CONFIGURE_ARGS+= --with-system-libevent
103CONFIGURE_ARGS+= --disable-crashreporter 103CONFIGURE_ARGS+= --disable-crashreporter
104CONFIGURE_ARGS+= --enable-chrome-format=omni 104CONFIGURE_ARGS+= --enable-chrome-format=omni
105CONFIGURE_ARGS+= --with-system-webp 105CONFIGURE_ARGS+= --with-system-webp
106 106
107#CONFIGURE_ARGS+= --enable-readline 107#CONFIGURE_ARGS+= --enable-readline
108CONFIGURE_ARGS+= --disable-icf 108CONFIGURE_ARGS+= --disable-icf
109CONFIGURE_ARGS+= --disable-updater 109CONFIGURE_ARGS+= --disable-updater
110 110
111CONFIGURE_ARGS+= --enable-new-pass-manager 111CONFIGURE_ARGS+= --enable-new-pass-manager
112 112
113.include "../../mk/compiler.mk" 113.include "../../mk/compiler.mk"
114 114
115.if empty(PKGSRC_COMPILER:Mclang) 115.if empty(PKGSRC_COMPILER:Mclang)
116# Set path to "clang for cbindgen" when target compiler is not clang. 116# Set path to "clang for cbindgen" when target compiler is not clang.
117CONFIGURE_ARGS+= --with-clang-path=${PREFIX}/bin/clang 117CONFIGURE_ARGS+= --with-clang-path=${PREFIX}/bin/clang
118.endif 118.endif
119CONFIGURE_ARGS+= --with-libclang-path=${PREFIX}/lib 119CONFIGURE_ARGS+= --with-libclang-path=${PREFIX}/lib
120 120
121# RLBox WASM sandbox 121# RLBox WASM sandbox
122.if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "i386" 122.if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "i386"
123# For wasm-ld command 123# For wasm-ld command
124BUILD_DEPENDS+= lld-[0-9]*:../../devel/lld 124BUILD_DEPENDS+= lld-[0-9]*:../../devel/lld
125.include "../../lang/wasi-libc/buildlink3.mk" 125.include "../../lang/wasi-libc/buildlink3.mk"
126.include "../../lang/wasi-libcxx/buildlink3.mk" 126.include "../../lang/wasi-libcxx/buildlink3.mk"
127# NB the exact versions of the clang and wasi-compiler-rt dependencies must 127# NB the exact versions of the clang and wasi-compiler-rt dependencies must
128# be kept in sync, or build failures will occur due to path mismatches. 128# be kept in sync, or build failures will occur due to path mismatches.
129.include "../../lang/wasi-compiler-rt/buildlink3.mk" 129.include "../../lang/wasi-compiler-rt/buildlink3.mk"
130CONFIGURE_ARGS+= --with-wasi-sysroot=${PREFIX}/wasi 130CONFIGURE_ARGS+= --with-wasi-sysroot=${PREFIX}/wasi
131CONFIGURE_ENV+= WASM_CC=${PREFIX}/bin/clang 131CONFIGURE_ENV+= WASM_CC=${PREFIX}/bin/clang
132CONFIGURE_ENV+= WASM_CXX=${PREFIX}/bin/clang++ 132CONFIGURE_ENV+= WASM_CXX=${PREFIX}/bin/clang++
133.else 133.else
134CONFIGURE_ARGS+= --without-wasm-sandboxed-libraries 134CONFIGURE_ARGS+= --without-wasm-sandboxed-libraries
135.endif 135.endif
136 136
137SUBST_CLASSES+= fix-paths 137SUBST_CLASSES+= fix-paths
138SUBST_STAGE.fix-paths= pre-configure 138SUBST_STAGE.fix-paths= pre-configure
139SUBST_MESSAGE.fix-paths= Fixing absolute paths. 139SUBST_MESSAGE.fix-paths= Fixing absolute paths.
140SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp 140SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp
141SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g' 141SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g'
142 142
143.include "../../sysutils/pciutils/libname.mk" 143.include "../../sysutils/pciutils/libname.mk"
144SUBST_CLASSES+= fix-libpci-soname 144SUBST_CLASSES+= fix-libpci-soname
145SUBST_STAGE.fix-libpci-soname= pre-configure 145SUBST_STAGE.fix-libpci-soname= pre-configure
146SUBST_MESSAGE.fix-libpci-soname= Fixing libpci soname 146SUBST_MESSAGE.fix-libpci-soname= Fixing libpci soname
147SUBST_FILES.fix-libpci-soname+= ${MOZILLA_DIR}toolkit/xre/glxtest.cpp 147SUBST_FILES.fix-libpci-soname+= ${MOZILLA_DIR}toolkit/xre/glxtest.cpp
148SUBST_SED.fix-libpci-soname+= -e 's,"libpci.so, "lib${PCIUTILS_LIBNAME}.so,' 148SUBST_SED.fix-libpci-soname+= -e 's,"libpci.so, "lib${PCIUTILS_LIBNAME}.so,'
149 149
150# Workaround for link of libxul.so as of 96.0. 150# Workaround for link of libxul.so as of 96.0.
151# There are too many -ldl under third_paty/libwebrtc. 151# There are too many -ldl under third_paty/libwebrtc.
152.include "../../mk/dlopen.buildlink3.mk" 152.include "../../mk/dlopen.buildlink3.mk"
153BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q} 153BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
154 154
155CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess 155CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess
156CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess 156CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess
157CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess 157CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess
158CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess 158CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess
159CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.sub 159CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.sub
160CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.sub 160CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.sub
161CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.sub 161CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.sub
162CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.sub 162CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.sub
163 163
164CONFIGURE_ENV+= CPP=${CPP:Q} 164CONFIGURE_ENV+= CPP=${CPP:Q}
165ALL_ENV+= SHELL=${CONFIG_SHELL:Q} 165ALL_ENV+= SHELL=${CONFIG_SHELL:Q}
166 166
167# Build outside ${WRKSRC} 167# Build outside ${WRKSRC}
168# Try to avoid conflict with config/makefiles/xpidl/Makefile.in 168# Try to avoid conflict with config/makefiles/xpidl/Makefile.in
169.if ${MAINTAINER_INTERNAL:Uno} == "yes" 169.if ${MAINTAINER_INTERNAL:Uno} == "yes"
170OBJDIR= ../no-node-build 170OBJDIR= ../no-node-build
171.else 171.else
172OBJDIR= ../build 172OBJDIR= ../build
173.endif 173.endif
174CONFIGURE_DIRS= ${OBJDIR} 174CONFIGURE_DIRS= ${OBJDIR}
175CONFIGURE_SCRIPT= ${WRKSRC}/configure 175CONFIGURE_SCRIPT= ${WRKSRC}/configure
176 176
177PLIST_VARS+= ffvpx 177PLIST_VARS+= ffvpx
178 178
179.if ${MACHINE_ARCH} == "aarch64" || \ 179.if ${MACHINE_ARCH} == "aarch64" || \
180 ${MACHINE_ARCH:M*arm*} || \ 180 ${MACHINE_ARCH:M*arm*} || \
181 ${MACHINE_ARCH} == "i386" || \ 181 ${MACHINE_ARCH} == "i386" || \
182 ${MACHINE_ARCH} == "x86_64" 182 ${MACHINE_ARCH} == "x86_64"
183PLIST.ffvpx= yes # see media/ffvpx/ffvpxcommon.mozbuild 183PLIST.ffvpx= yes # see media/ffvpx/ffvpxcommon.mozbuild
184.endif 184.endif
185 185
186# See ${WRKSRC}/security/sandbox/mac/Sandbox.mm: On Darwin, sandboxing 186# See ${WRKSRC}/security/sandbox/mac/Sandbox.mm: On Darwin, sandboxing
187# support is only available when the toolkit is cairo-cocoa. 187# support is only available when the toolkit is cairo-cocoa.
188CONFIGURE_ARGS.Darwin+= --disable-sandbox 188CONFIGURE_ARGS.Darwin+= --disable-sandbox
189 189
190# Makefiles sometimes call "rm -f" without more arguments. Kludge around ... 190# Makefiles sometimes call "rm -f" without more arguments. Kludge around ...
191.PHONY: create-rm-wrapper 191.PHONY: create-rm-wrapper
192pre-configure: create-rm-wrapper 192pre-configure: create-rm-wrapper
193create-rm-wrapper: 193create-rm-wrapper:
194 printf '#!/bin/sh\n[ "$$*" = "-f" ] && exit 0\nexec /bin/rm $$@\n' > \ 194 printf '#!/bin/sh\n[ "$$*" = "-f" ] && exit 0\nexec /bin/rm $$@\n' > \
195 ${WRAPPER_DIR}/bin/rm 195 ${WRAPPER_DIR}/bin/rm
196 chmod +x ${WRAPPER_DIR}/bin/rm 196 chmod +x ${WRAPPER_DIR}/bin/rm
197 197
198# The configure test for __thread succeeds, but later we end up with: 198# The configure test for __thread succeeds, but later we end up with:
199# dist/bin/libxul.so: undefined reference to `__tls_get_addr' 199# dist/bin/libxul.so: undefined reference to `__tls_get_addr'
200CONFIGURE_ENV.NetBSD+= ac_cv_thread_keyword=no 200CONFIGURE_ENV.NetBSD+= ac_cv_thread_keyword=no
201# In unspecified case, clock_gettime(CLOCK_MONOTONIC, ...) fails. 201# In unspecified case, clock_gettime(CLOCK_MONOTONIC, ...) fails.
202CONFIGURE_ENV.NetBSD+= ac_cv_clock_monotonic= 202CONFIGURE_ENV.NetBSD+= ac_cv_clock_monotonic=
203 203
204.include "../../sysutils/pciutils/buildlink3.mk" 204.include "../../sysutils/pciutils/buildlink3.mk"
205.include "../../mk/atomic64.mk" 205.include "../../mk/atomic64.mk"
206BUILDLINK_API_DEPENDS.libevent+= libevent>=1.1 206BUILDLINK_API_DEPENDS.libevent+= libevent>=1.1
207.include "../../devel/libevent/buildlink3.mk" 207.include "../../devel/libevent/buildlink3.mk"
208.include "../../devel/libffi/buildlink3.mk" 208.include "../../devel/libffi/buildlink3.mk"
209BUILDLINK_API_DEPENDS.nspr+= nspr>=4.34 209BUILDLINK_API_DEPENDS.nspr+= nspr>=4.34
210.include "../../devel/nspr/buildlink3.mk" 210.include "../../devel/nspr/buildlink3.mk"
211.include "../../textproc/icu/buildlink3.mk" 211.include "../../textproc/icu/buildlink3.mk"
212BUILDLINK_API_DEPENDS.nss+= nss>=3.82 212BUILDLINK_API_DEPENDS.nss+= nss>=3.84
213.include "../../devel/nss/buildlink3.mk" 213.include "../../devel/nss/buildlink3.mk"
214.include "../../devel/zlib/buildlink3.mk" 214.include "../../devel/zlib/buildlink3.mk"
215#.include "../../mk/jpeg.buildlink3.mk" 215#.include "../../mk/jpeg.buildlink3.mk"
216.include "../../graphics/MesaLib/buildlink3.mk" 216.include "../../graphics/MesaLib/buildlink3.mk"
217#BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10.2nb4 217#BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10.2nb4
218#.include "../../graphics/cairo/buildlink3.mk" 218#.include "../../graphics/cairo/buildlink3.mk"
219BUILDLINK_API_DEPENDS.libwebp+= libwebp>=1.0.2 219BUILDLINK_API_DEPENDS.libwebp+= libwebp>=1.0.2
220.include "../../graphics/libwebp/buildlink3.mk" 220.include "../../graphics/libwebp/buildlink3.mk"
221BUILDLINK_DEPMETHOD.clang= build 221BUILDLINK_DEPMETHOD.clang= build
222.include "../../lang/clang/buildlink3.mk" 222.include "../../lang/clang/buildlink3.mk"
223RUST_REQ= 1.61.0 223RUST_REQ= 1.61.0
224.include "../../lang/rust/rust.mk" 224.include "../../lang/rust/rust.mk"
225# webrtc option requires internal libvpx 225# webrtc option requires internal libvpx
226#BUILDLINK_API_DEPENDS.libvpx+= libvpx>=1.3.0 226#BUILDLINK_API_DEPENDS.libvpx+= libvpx>=1.3.0
227#.include "../../multimedia/libvpx/buildlink3.mk" 227#.include "../../multimedia/libvpx/buildlink3.mk"
228.include "../../net/libIDL/buildlink3.mk" 228.include "../../net/libIDL/buildlink3.mk"
229# textproc/hunspell 1.3 is too old 229# textproc/hunspell 1.3 is too old
230#.include "../../textproc/hunspell/buildlink3.mk" 230#.include "../../textproc/hunspell/buildlink3.mk"
231.include "../../multimedia/ffmpeg5/buildlink3.mk" 231.include "../../multimedia/ffmpeg5/buildlink3.mk"
232.include "../../x11/libXt/buildlink3.mk" 232.include "../../x11/libXt/buildlink3.mk"
233.include "../../x11/libXtst/buildlink3.mk" 233.include "../../x11/libXtst/buildlink3.mk"
234BUILDLINK_API_DEPENDS.pixman+= pixman>=0.25.2 234BUILDLINK_API_DEPENDS.pixman+= pixman>=0.25.2
235.include "../../x11/pixman/buildlink3.mk" 235.include "../../x11/pixman/buildlink3.mk"
236.include "../../x11/gtk3/buildlink3.mk" 236.include "../../x11/gtk3/buildlink3.mk"
237PLIST_VARS+= wayland 237PLIST_VARS+= wayland
238.if ${PKG_BUILD_OPTIONS.gtk3:Mwayland} 238.if ${PKG_BUILD_OPTIONS.gtk3:Mwayland}
239PLIST.wayland= yes 239PLIST.wayland= yes
240.endif 240.endif
241.include "../../lang/python/pyversion.mk" 241.include "../../lang/python/pyversion.mk"