| @@ -1,211 +1,211 @@ | | | @@ -1,211 +1,211 @@ |
1 | # $NetBSD: mozilla-common.mk,v 1.13 2021/11/13 23:51:01 nia Exp $ | | 1 | # $NetBSD: mozilla-common.mk,v 1.14 2022/01/26 12:00:18 wiz 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 mail/thunderbird/Makefile | | 5 | # used by mail/thunderbird/Makefile |
6 | | | 6 | |
7 | .include "../../mk/bsd.prefs.mk" | | 7 | .include "../../mk/bsd.prefs.mk" |
8 | | | 8 | |
9 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | | 9 | PYTHON_VERSIONS_INCOMPATIBLE+= 27 |
10 | PYTHON_FOR_BUILD_ONLY= tool | | 10 | PYTHON_FOR_BUILD_ONLY= tool |
11 | ALL_ENV+= PYTHON3=${PYTHONBIN} | | 11 | ALL_ENV+= PYTHON3=${PYTHONBIN} |
12 | | | 12 | |
13 | HAS_CONFIGURE= yes | | 13 | HAS_CONFIGURE= yes |
14 | CONFIGURE_ARGS+= --prefix=${PREFIX} | | 14 | CONFIGURE_ARGS+= --prefix=${PREFIX} |
15 | USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip | | 15 | USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip |
16 | UNLIMIT_RESOURCES+= datasize virtualsize | | 16 | UNLIMIT_RESOURCES+= datasize virtualsize |
17 | | | 17 | |
18 | USE_LANGUAGES+= c c++ | | 18 | USE_LANGUAGES+= c c++ |
19 | | | 19 | |
20 | # ERROR: Only GCC 7.1 or newer is supported (found version 5.5.0). | | 20 | # ERROR: Only GCC 7.1 or newer is supported (found version 5.5.0). |
21 | GCC_REQD+= 7 | | 21 | GCC_REQD+= 7 |
22 | | | 22 | |
23 | TOOL_DEPENDS+= cbindgen>=0.14.2:../../devel/cbindgen | | 23 | TOOL_DEPENDS+= cbindgen>=0.14.2:../../devel/cbindgen |
24 | .if ${MACHINE_ARCH} == "sparc64" | | 24 | .if ${MACHINE_ARCH} == "sparc64" |
25 | CONFIGURE_ARGS+= --disable-nodejs | | 25 | CONFIGURE_ARGS+= --disable-nodejs |
26 | .else | | 26 | .else |
27 | TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs | | 27 | TOOL_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs |
28 | .endif | | 28 | .endif |
29 | | | 29 | |
30 | TOOL_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 | | 30 | TOOL_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 |
31 | TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | | 31 | TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat |
32 | | | 32 | |
33 | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" | | 33 | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" |
34 | TOOL_DEPENDS+= nasm>=2.14:../../devel/nasm | | 34 | TOOL_DEPENDS+= nasm>=2.14:../../devel/nasm |
35 | TOOL_DEPENDS+= yasm>=1.1:../../devel/yasm | | 35 | TOOL_DEPENDS+= yasm>=1.1:../../devel/yasm |
36 | .endif | | 36 | .endif |
37 | | | 37 | |
38 | # This is to work around build failures where an upstream configuration script | | 38 | # This is to work around build failures where an upstream configuration script |
39 | # is confused by having more than one approximate match to MACHINE_GNU_PLATFORM | | 39 | # is confused by having more than one approximate match to MACHINE_GNU_PLATFORM |
40 | # "i486" when attempting to select the Rust compiler target. | | 40 | # "i486" when attempting to select the Rust compiler target. |
41 | .if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) | | 41 | .if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) |
42 | CONFIGURE_ARGS+= --target=i586-unknown-netbsd | | 42 | CONFIGURE_ARGS+= --target=i586-unknown-netbsd |
43 | CONFIGURE_ARGS+= --host=i586-unknown-netbsd | | 43 | CONFIGURE_ARGS+= --host=i586-unknown-netbsd |
44 | .else | | 44 | .else |
45 | CONFIGURE_ARGS+= --target=${MACHINE_GNU_PLATFORM} | | 45 | CONFIGURE_ARGS+= --target=${MACHINE_GNU_PLATFORM} |
46 | CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM} | | 46 | CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM} |
47 | .endif | | 47 | .endif |
48 | | | 48 | |
49 | CONFIGURE_ENV+= BINDGEN_CFLAGS="-isystem${PREFIX}/include/nspr \ | | 49 | CONFIGURE_ENV+= BINDGEN_CFLAGS="-isystem${PREFIX}/include/nspr \ |
50 | -isystem${X11BASE}/include/pixman-1" | | 50 | -isystem${X11BASE}/include/pixman-1" |
51 | | | 51 | |
52 | test: | | 52 | test: |
53 | cd ${WRKSRC}/${OBJDIR}/dist/bin && \ | | 53 | cd ${WRKSRC}/${OBJDIR}/dist/bin && \ |
54 | ./run-mozilla.sh ${WRKSRC}/mach check-spidermonkey | | 54 | ./run-mozilla.sh ${WRKSRC}/mach check-spidermonkey |
55 | | | 55 | |
56 | # tar(1) of OpenBSD 5.5 has no --exclude command line option. | | 56 | # tar(1) of OpenBSD 5.5 has no --exclude command line option. |
57 | .if ${OPSYS} == "OpenBSD" | | 57 | .if ${OPSYS} == "OpenBSD" |
58 | TOOLS_PLATFORM.tar= ${TOOLS_PATH.bsdtar} | | 58 | TOOLS_PLATFORM.tar= ${TOOLS_PATH.bsdtar} |
59 | USE_TOOLS+= bsdtar | | 59 | USE_TOOLS+= bsdtar |
60 | .endif | | 60 | .endif |
61 | .if ${MACHINE_ARCH} == "i386" | | 61 | .if ${MACHINE_ARCH} == "i386" |
62 | # This is required for SSE2 code under i386. | | 62 | # This is required for SSE2 code under i386. |
63 | CXXFLAGS+= -mstackrealign | | 63 | CXXFLAGS+= -mstackrealign |
64 | .endif | | 64 | .endif |
65 | | | 65 | |
66 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}third_party/python/glean_parser/Makefile | | 66 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}third_party/python/glean_parser/Makefile |
67 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}security/nss/tests/libpkix/libpkix.sh | | 67 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}security/nss/tests/libpkix/libpkix.sh |
68 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}security/nss/tests/multinit/multinit.sh | | 68 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}security/nss/tests/multinit/multinit.sh |
69 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}js/src/tests/update-test262.sh | | 69 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}js/src/tests/update-test262.sh |
70 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}intl/icu/source/configure | | 70 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}intl/icu/source/configure |
71 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}browser/components/loop/run-all-loop-tests.sh | | 71 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}browser/components/loop/run-all-loop-tests.sh |
72 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}browser/extensions/loop/run-all-loop-tests.sh | | 72 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}browser/extensions/loop/run-all-loop-tests.sh |
73 | #CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}modules/pdfium/update.sh | | 73 | #CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}modules/pdfium/update.sh |
74 | | | 74 | |
75 | CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk3 | | 75 | CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk3 |
76 | CONFIGURE_ARGS+= --enable-release | | 76 | CONFIGURE_ARGS+= --enable-release |
77 | # Disable Rust SIMD option to fix build with lang/rust-1.33.0 | | 77 | # Disable Rust SIMD option to fix build with lang/rust-1.33.0 |
78 | # This should be enabled later again. | | 78 | # This should be enabled later again. |
79 | #CONFIGURE_ARGS+= --enable-rust-simd | | 79 | #CONFIGURE_ARGS+= --enable-rust-simd |
80 | CONFIGURE_ARGS+= --disable-tests | | 80 | CONFIGURE_ARGS+= --disable-tests |
81 | # Mozilla Bug 1432751 | | 81 | # Mozilla Bug 1432751 |
82 | #CONFIGURE_ARGS+= --enable-system-cairo | | 82 | #CONFIGURE_ARGS+= --enable-system-cairo |
83 | CONFIGURE_ARGS+= --enable-system-pixman | | 83 | CONFIGURE_ARGS+= --enable-system-pixman |
84 | # webrtc option requires internal libvpx | | 84 | # webrtc option requires internal libvpx |
85 | #CONFIGURE_ARGS+= --with-system-libvpx | | 85 | #CONFIGURE_ARGS+= --with-system-libvpx |
86 | CONFIGURE_ARGS+= --enable-system-ffi | | 86 | CONFIGURE_ARGS+= --enable-system-ffi |
87 | CONFIGURE_ARGS+= --with-system-icu | | 87 | CONFIGURE_ARGS+= --with-system-icu |
88 | CONFIGURE_ARGS+= --with-system-nss | | 88 | CONFIGURE_ARGS+= --with-system-nss |
89 | CONFIGURE_ARGS+= --with-system-nspr | | 89 | CONFIGURE_ARGS+= --with-system-nspr |
90 | #CONFIGURE_ARGS+= --with-system-jpeg | | 90 | #CONFIGURE_ARGS+= --with-system-jpeg |
91 | CONFIGURE_ARGS+= --with-system-zlib | | 91 | CONFIGURE_ARGS+= --with-system-zlib |
92 | CONFIGURE_ARGS+= --with-system-libevent=${BUILDLINK_PREFIX.libevent} | | 92 | CONFIGURE_ARGS+= --with-system-libevent=${BUILDLINK_PREFIX.libevent} |
93 | CONFIGURE_ARGS+= --disable-crashreporter | | 93 | CONFIGURE_ARGS+= --disable-crashreporter |
94 | CONFIGURE_ARGS+= --disable-necko-wifi | | 94 | CONFIGURE_ARGS+= --disable-necko-wifi |
95 | CONFIGURE_ARGS+= --enable-chrome-format=flat | | 95 | CONFIGURE_ARGS+= --enable-chrome-format=flat |
96 | CONFIGURE_ARGS+= --with-system-webp | | 96 | CONFIGURE_ARGS+= --with-system-webp |
97 | | | 97 | |
98 | #CONFIGURE_ARGS+= --enable-readline | | 98 | #CONFIGURE_ARGS+= --enable-readline |
99 | CONFIGURE_ARGS+= --disable-icf | | 99 | CONFIGURE_ARGS+= --disable-icf |
100 | CONFIGURE_ARGS+= --disable-updater | | 100 | CONFIGURE_ARGS+= --disable-updater |
101 | | | 101 | |
102 | #CONFIGURE_ARGS+= --with-libclang-path=${PREFIX}/lib | | 102 | #CONFIGURE_ARGS+= --with-libclang-path=${PREFIX}/lib |
103 | | | 103 | |
104 | SUBST_CLASSES+= fix-paths | | 104 | SUBST_CLASSES+= fix-paths |
105 | SUBST_STAGE.fix-paths= pre-configure | | 105 | SUBST_STAGE.fix-paths= pre-configure |
106 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. | | 106 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. |
107 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp | | 107 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp |
108 | SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g' | | 108 | SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g' |
109 | | | 109 | |
110 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess | | 110 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess |
111 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess | | 111 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess |
112 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess | | 112 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess |
113 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess | | 113 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess |
114 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.sub | | 114 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.sub |
115 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.sub | | 115 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.sub |
116 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.sub | | 116 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.sub |
117 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.sub | | 117 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.sub |
118 | | | 118 | |
119 | CONFIGURE_ENV+= CPP=${CPP:Q} | | 119 | CONFIGURE_ENV+= CPP=${CPP:Q} |
120 | ALL_ENV+= SHELL=${CONFIG_SHELL:Q} | | 120 | ALL_ENV+= SHELL=${CONFIG_SHELL:Q} |
121 | | | 121 | |
122 | # Build outside ${WRKSRC} | | 122 | # Build outside ${WRKSRC} |
123 | # Try to avoid conflict with config/makefiles/xpidl/Makefile.in | | 123 | # Try to avoid conflict with config/makefiles/xpidl/Makefile.in |
124 | OBJDIR= ../build | | 124 | OBJDIR= ../build |
125 | CONFIGURE_DIRS= ${OBJDIR} | | 125 | CONFIGURE_DIRS= ${OBJDIR} |
126 | CONFIGURE_SCRIPT= ${WRKSRC}/configure | | 126 | CONFIGURE_SCRIPT= ${WRKSRC}/configure |
127 | | | 127 | |
128 | PLIST_VARS+= ffvpx | | 128 | PLIST_VARS+= ffvpx |
129 | | | 129 | |
130 | .if ${MACHINE_ARCH} == "aarch64" || \ | | 130 | .if ${MACHINE_ARCH} == "aarch64" || \ |
131 | !empty(MACHINE_ARCH:M*arm*) || \ | | 131 | !empty(MACHINE_ARCH:M*arm*) || \ |
132 | ${MACHINE_ARCH} == "i386" || \ | | 132 | ${MACHINE_ARCH} == "i386" || \ |
133 | ${MACHINE_ARCH} == "x86_64" | | 133 | ${MACHINE_ARCH} == "x86_64" |
134 | PLIST.ffvpx= yes # see media/ffvpx/ffvpxcommon.mozbuild | | 134 | PLIST.ffvpx= yes # see media/ffvpx/ffvpxcommon.mozbuild |
135 | .endif | | 135 | .endif |
136 | | | 136 | |
137 | # See ${WRKSRC}/security/sandbox/mac/Sandbox.mm: On Darwin, sandboxing | | 137 | # See ${WRKSRC}/security/sandbox/mac/Sandbox.mm: On Darwin, sandboxing |
138 | # support is only available when the toolkit is cairo-cocoa. | | 138 | # support is only available when the toolkit is cairo-cocoa. |
139 | CONFIGURE_ARGS.Darwin+= --disable-sandbox | | 139 | CONFIGURE_ARGS.Darwin+= --disable-sandbox |
140 | | | 140 | |
141 | # See ${WRKSRC}/configure.in: It tries to use MacOS X 10.6 SDK by | | 141 | # See ${WRKSRC}/configure.in: It tries to use MacOS X 10.6 SDK by |
142 | # default, which is not always possible. | | 142 | # default, which is not always possible. |
143 | .if !empty(MACHINE_PLATFORM:MDarwin-8.*-*) | | 143 | .if !empty(MACHINE_PLATFORM:MDarwin-8.*-*) |
144 | CONFIGURE_ARGS+= --enable-macos-target=10.4 | | 144 | CONFIGURE_ARGS+= --enable-macos-target=10.4 |
145 | .elif !empty(MACHINE_PLATFORM:MDarwin-9.*-*) | | 145 | .elif !empty(MACHINE_PLATFORM:MDarwin-9.*-*) |
146 | CONFIGURE_ARGS+= --enable-macos-target=10.5 | | 146 | CONFIGURE_ARGS+= --enable-macos-target=10.5 |
147 | .endif | | 147 | .endif |
148 | | | 148 | |
149 | # Makefiles sometimes call "rm -f" without more arguments. Kludge around ... | | 149 | # Makefiles sometimes call "rm -f" without more arguments. Kludge around ... |
150 | .PHONY: create-rm-wrapper | | 150 | .PHONY: create-rm-wrapper |
151 | pre-configure: create-rm-wrapper | | 151 | pre-configure: create-rm-wrapper |
152 | create-rm-wrapper: | | 152 | create-rm-wrapper: |
153 | printf '#!/bin/sh\n[ "$$*" = "-f" ] && exit 0\nexec /bin/rm $$@\n' > \ | | 153 | printf '#!/bin/sh\n[ "$$*" = "-f" ] && exit 0\nexec /bin/rm $$@\n' > \ |
154 | ${WRAPPER_DIR}/bin/rm | | 154 | ${WRAPPER_DIR}/bin/rm |
155 | chmod +x ${WRAPPER_DIR}/bin/rm | | 155 | chmod +x ${WRAPPER_DIR}/bin/rm |
156 | | | 156 | |
157 | .PHONY: fix-clang-wrapper | | 157 | .PHONY: fix-clang-wrapper |
158 | pre-configure: fix-clang-wrapper | | 158 | pre-configure: fix-clang-wrapper |
159 | fix-clang-wrapper: | | 159 | fix-clang-wrapper: |
160 | .if empty(PKGSRC_COMPILER:M*clang*) | | 160 | .if empty(PKGSRC_COMPILER:M*clang*) |
161 | # Firefox requires Clang during the build, even when building with GCC. | | 161 | # Firefox requires Clang during the build, even when building with GCC. |
162 | # XXX: When using GCC, pkgsrc provides 'clang' wrappers that are actually gcc. | | 162 | # XXX: When using GCC, pkgsrc provides 'clang' wrappers that are actually gcc. |
163 | # This breaks the build. | | 163 | # This breaks the build. |
164 | ${LN} -sf ${PREFIX}/bin/clang ${WRKDIR}/.cwrapper/bin/clang | | 164 | ${LN} -sf ${PREFIX}/bin/clang ${WRKDIR}/.cwrapper/bin/clang |
165 | ${LN} -sf ${PREFIX}/bin/clang++ ${WRKDIR}/.cwrapper/bin/clang++ | | 165 | ${LN} -sf ${PREFIX}/bin/clang++ ${WRKDIR}/.cwrapper/bin/clang++ |
166 | ${LN} -sf ${PREFIX}/bin/clang-cpp ${WRKDIR}/.cwrapper/bin/clang-cpp | | 166 | ${LN} -sf ${PREFIX}/bin/clang-cpp ${WRKDIR}/.cwrapper/bin/clang-cpp |
167 | .endif | | 167 | .endif |
168 | | | 168 | |
169 | # The configure test for __thread succeeds, but later we end up with: | | 169 | # The configure test for __thread succeeds, but later we end up with: |
170 | # dist/bin/libxul.so: undefined reference to `__tls_get_addr' | | 170 | # dist/bin/libxul.so: undefined reference to `__tls_get_addr' |
171 | CONFIGURE_ENV.NetBSD+= ac_cv_thread_keyword=no | | 171 | CONFIGURE_ENV.NetBSD+= ac_cv_thread_keyword=no |
172 | # In unspecified case, clock_gettime(CLOCK_MONOTONIC, ...) fails. | | 172 | # In unspecified case, clock_gettime(CLOCK_MONOTONIC, ...) fails. |
173 | CONFIGURE_ENV.NetBSD+= ac_cv_clock_monotonic= | | 173 | CONFIGURE_ENV.NetBSD+= ac_cv_clock_monotonic= |
174 | | | 174 | |
175 | .include "../../mk/atomic64.mk" | | 175 | .include "../../mk/atomic64.mk" |
176 | BUILDLINK_API_DEPENDS.libevent+= libevent>=1.1 | | 176 | BUILDLINK_API_DEPENDS.libevent+= libevent>=1.1 |
177 | .include "../../devel/libevent/buildlink3.mk" | | 177 | .include "../../devel/libevent/buildlink3.mk" |
178 | .include "../../devel/libffi/buildlink3.mk" | | 178 | .include "../../devel/libffi/buildlink3.mk" |
179 | BUILDLINK_API_DEPENDS.nspr+= nspr>=4.25 | | 179 | BUILDLINK_API_DEPENDS.nspr+= nspr>=4.25 |
180 | .include "../../devel/nspr/buildlink3.mk" | | 180 | .include "../../devel/nspr/buildlink3.mk" |
181 | .include "../../textproc/icu/buildlink3.mk" | | 181 | .include "../../textproc/icu/buildlink3.mk" |
182 | BUILDLINK_API_DEPENDS.nss+= nss>=3.53 | | 182 | BUILDLINK_API_DEPENDS.nss+= nss>=3.53 |
183 | .include "../../devel/nss/buildlink3.mk" | | 183 | .include "../../devel/nss/buildlink3.mk" |
184 | .include "../../devel/zlib/buildlink3.mk" | | 184 | .include "../../devel/zlib/buildlink3.mk" |
185 | #.include "../../mk/jpeg.buildlink3.mk" | | 185 | #.include "../../mk/jpeg.buildlink3.mk" |
186 | .include "../../graphics/MesaLib/buildlink3.mk" | | 186 | .include "../../graphics/MesaLib/buildlink3.mk" |
187 | #BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10.2nb4 | | 187 | #BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10.2nb4 |
188 | #.include "../../graphics/cairo/buildlink3.mk" | | 188 | #.include "../../graphics/cairo/buildlink3.mk" |
189 | BUILDLINK_API_DEPENDS.libwebp+= libwebp>=1.0.2 | | 189 | BUILDLINK_API_DEPENDS.libwebp+= libwebp>=1.0.2 |
190 | .include "../../graphics/libwebp/buildlink3.mk" | | 190 | .include "../../graphics/libwebp/buildlink3.mk" |
191 | BUILDLINK_DEPMETHOD.clang= build | | 191 | BUILDLINK_DEPMETHOD.clang= build |
192 | .include "../../lang/clang/buildlink3.mk" | | 192 | .include "../../lang/clang/buildlink3.mk" |
193 | RUST_REQ= 1.41.0 | | 193 | RUST_REQ= 1.41.0 |
194 | .include "../../lang/rust/rust.mk" | | 194 | .include "../../lang/rust/rust.mk" |
195 | # webrtc option requires internal libvpx | | 195 | # webrtc option requires internal libvpx |
196 | #BUILDLINK_API_DEPENDS.libvpx+= libvpx>=1.3.0 | | 196 | #BUILDLINK_API_DEPENDS.libvpx+= libvpx>=1.3.0 |
197 | #.include "../../multimedia/libvpx/buildlink3.mk" | | 197 | #.include "../../multimedia/libvpx/buildlink3.mk" |
198 | .include "../../net/libIDL/buildlink3.mk" | | 198 | .include "../../net/libIDL/buildlink3.mk" |
199 | # textproc/hunspell 1.3 is too old | | 199 | # textproc/hunspell 1.3 is too old |
200 | #.include "../../textproc/hunspell/buildlink3.mk" | | 200 | #.include "../../textproc/hunspell/buildlink3.mk" |
201 | .include "../../multimedia/ffmpeg4/buildlink3.mk" | | 201 | .include "../../multimedia/ffmpeg4/buildlink3.mk" |
202 | .include "../../x11/libXt/buildlink3.mk" | | 202 | .include "../../x11/libXt/buildlink3.mk" |
203 | BUILDLINK_API_DEPENDS.pixman+= pixman>=0.25.2 | | 203 | BUILDLINK_API_DEPENDS.pixman+= pixman>=0.25.2 |
204 | .include "../../x11/pixman/buildlink3.mk" | | 204 | .include "../../x11/pixman/buildlink3.mk" |
205 | .include "../../x11/gtk2/buildlink3.mk" | | 205 | .include "../../x11/gtk2/buildlink3.mk" |
206 | .include "../../x11/gtk3/buildlink3.mk" | | 206 | .include "../../x11/gtk3/buildlink3.mk" |
207 | PLIST_VARS+= wayland | | 207 | PLIST_VARS+= wayland |
208 | .if ${PKG_BUILD_OPTIONS.gtk3:Mwayland} | | 208 | .if ${PKG_BUILD_OPTIONS.gtk3:Mwayland} |
209 | PLIST.wayland= yes | | 209 | PLIST.wayland= yes |
210 | .endif | | 210 | .endif |
211 | .include "../../lang/python/tool.mk" | | 211 | .include "../../lang/python/tool.mk" |