| @@ -1,236 +1,236 @@ | | | @@ -1,236 +1,236 @@ |
1 | # $NetBSD: mozilla-common.mk,v 1.112 2018/07/15 23:15:01 ryoon Exp $ | | 1 | # $NetBSD: mozilla-common.mk,v 1.113 2018/07/16 02:03:15 ryoon 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 | # used by www/seamonkey/Makefile | | 6 | # used by www/seamonkey/Makefile |
7 | | | 7 | |
8 | # Python 2.7 and Python 3.5 or later are required simultaneously. | | 8 | # Python 2.7 and Python 3.5 or later are required simultaneously. |
9 | PYTHON_VERSIONS_ACCEPTED= 27 | | 9 | PYTHON_VERSIONS_ACCEPTED= 27 |
10 | PYTHON_FOR_BUILD_ONLY= tool | | 10 | PYTHON_FOR_BUILD_ONLY= tool |
11 | .if !empty(PYTHON_VERSION_DEFAULT:M37) || !empty(PYTHON_VERSION_DEFAULT:M36) \ | | 11 | .if !empty(PYTHON_VERSION_DEFAULT:M37) || !empty(PYTHON_VERSION_DEFAULT:M36) \ |
12 | || !empty(PYTHON_VERSION_DEFAULT:M35) | | 12 | || !empty(PYTHON_VERSION_DEFAULT:M35) |
13 | TOOL_DEPENDS+= python${PYTHON_VERSION_DEFAULT}-[0-9]*:../../lang/python${PYTHON_VERSION_DEFAULT} | | 13 | TOOL_DEPENDS+= python${PYTHON_VERSION_DEFAULT}-[0-9]*:../../lang/python${PYTHON_VERSION_DEFAULT} |
14 | ALL_ENV+= PYTHON3=${LOCALBASE}/bin/python${PYTHON_VERSION_DEFAULT:S/3/3./} | | 14 | ALL_ENV+= PYTHON3=${LOCALBASE}/bin/python${PYTHON_VERSION_DEFAULT:S/3/3./} |
15 | .else | | 15 | .else |
16 | TOOL_DEPENDS+= python37-[0-9]*:../../lang/python37 | | 16 | TOOL_DEPENDS+= python37-[0-9]*:../../lang/python37 |
17 | ALL_ENV+= PYTHON3=${LOCALBASE}/bin/python3.7 | | 17 | ALL_ENV+= PYTHON3=${LOCALBASE}/bin/python3.7 |
18 | .endif | | 18 | .endif |
19 | | | 19 | |
20 | HAS_CONFIGURE= yes | | 20 | HAS_CONFIGURE= yes |
21 | CONFIGURE_ARGS+= --prefix=${PREFIX} | | 21 | CONFIGURE_ARGS+= --prefix=${PREFIX} |
22 | USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip | | 22 | USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip |
23 | USE_LANGUAGES+= c99 c++ | | 23 | USE_LANGUAGES+= c99 c++ |
24 | UNLIMIT_RESOURCES+= datasize | | 24 | UNLIMIT_RESOURCES+= datasize |
25 | | | 25 | |
26 | .include "../../mk/bsd.prefs.mk" | | 26 | .include "../../mk/bsd.prefs.mk" |
27 | | | 27 | |
28 | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" | | 28 | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" |
29 | BUILD_DEPENDS+= yasm>=1.1:../../devel/yasm | | 29 | BUILD_DEPENDS+= yasm>=1.1:../../devel/yasm |
30 | | | 30 | |
31 | # Enable Google widevine CDM. This requires external libwidevinecdm.so. | | 31 | # Enable Google widevine CDM. This requires external libwidevinecdm.so. |
32 | #CONFIGURE_ARGS+= --enable-eme=widevine | | 32 | #CONFIGURE_ARGS+= --enable-eme=widevine |
33 | .endif | | 33 | .endif |
34 | | | 34 | |
35 | # For rustc/cargo detection | | 35 | # For rustc/cargo detection |
36 | CONFIGURE_ARGS+= --target=${MACHINE_GNU_PLATFORM:Q} | | 36 | CONFIGURE_ARGS+= --target=${MACHINE_GNU_PLATFORM:Q} |
37 | CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM:Q} | | 37 | CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM:Q} |
38 | | | 38 | |
39 | CONFIGURE_ENV+= BINDGEN_CFLAGS="-isystem${PREFIX}/include/nspr \ | | 39 | CONFIGURE_ENV+= BINDGEN_CFLAGS="-isystem${PREFIX}/include/nspr \ |
40 | -isystem${X11BASE}/include/pixman-1" | | 40 | -isystem${X11BASE}/include/pixman-1" |
41 | | | 41 | |
42 | test: | | 42 | test: |
43 | cd ${WRKSRC}/${OBJDIR}/dist/bin && \ | | 43 | cd ${WRKSRC}/${OBJDIR}/dist/bin && \ |
44 | ./run-mozilla.sh ${WRKSRC}/mach check-spidermonkey | | 44 | ./run-mozilla.sh ${WRKSRC}/mach check-spidermonkey |
45 | | | 45 | |
46 | # tar(1) of OpenBSD 5.5 has no --exclude command line option. | | 46 | # tar(1) of OpenBSD 5.5 has no --exclude command line option. |
47 | .if ${OPSYS} == "OpenBSD" | | 47 | .if ${OPSYS} == "OpenBSD" |
48 | TOOLS_PLATFORM.tar= ${TOOLS_PATH.bsdtar} | | 48 | TOOLS_PLATFORM.tar= ${TOOLS_PATH.bsdtar} |
49 | USE_TOOLS+= bsdtar | | 49 | USE_TOOLS+= bsdtar |
50 | .endif | | 50 | .endif |
51 | GCC_REQD= 6.1 | | 51 | GCC_REQD= 6.1 |
52 | .if !empty(MACHINE_PLATFORM:MNetBSD-[0-7]**-*) || \ | | 52 | .if !empty(MACHINE_PLATFORM:MNetBSD-[0-7]**-*) || \ |
53 | !empty(MACHINE_PLATFORM:MNetBSD-8.[0-8]*-*) | | 53 | !empty(MACHINE_PLATFORM:MNetBSD-8.[0-8]*-*) |
54 | USE_PKGSRC_GCC_RUNTIME= yes | | 54 | USE_PKGSRC_GCC_RUNTIME= yes |
55 | .endif | | 55 | .endif |
56 | .if ${MACHINE_ARCH} == "i386" | | 56 | .if ${MACHINE_ARCH} == "i386" |
57 | # Fix for PR pkg/48152. | | 57 | # Fix for PR pkg/48152. |
58 | CXXFLAGS+= -march=i586 | | 58 | CXXFLAGS+= -march=i586 |
59 | # This is required for SSE2 code under i386. | | 59 | # This is required for SSE2 code under i386. |
60 | CXXFLAGS+= -mstackrealign | | 60 | CXXFLAGS+= -mstackrealign |
61 | .endif | | 61 | .endif |
62 | | | 62 | |
63 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}security/nss/tests/libpkix/libpkix.sh | | 63 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}security/nss/tests/libpkix/libpkix.sh |
64 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}security/nss/tests/multinit/multinit.sh | | 64 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}security/nss/tests/multinit/multinit.sh |
65 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}js/src/tests/update-test262.sh | | 65 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}js/src/tests/update-test262.sh |
66 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}intl/icu/source/configure | | 66 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}intl/icu/source/configure |
67 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}browser/components/loop/run-all-loop-tests.sh | | 67 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}browser/components/loop/run-all-loop-tests.sh |
68 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}browser/extensions/loop/run-all-loop-tests.sh | | 68 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}browser/extensions/loop/run-all-loop-tests.sh |
69 | | | 69 | |
70 | CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk3 | | 70 | CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk3 |
71 | .if ${OPSYS} != "SunOS" | | 71 | .if ${OPSYS} != "SunOS" |
72 | CONFIGURE_ARGS+= --enable-pie | | 72 | CONFIGURE_ARGS+= --enable-pie |
73 | .endif | | 73 | .endif |
74 | CONFIGURE_ARGS+= --disable-tests | | 74 | CONFIGURE_ARGS+= --disable-tests |
75 | CONFIGURE_ARGS+= --with-pthreads | | 75 | CONFIGURE_ARGS+= --with-pthreads |
76 | # Mozilla Bug 1432751 | | 76 | # Mozilla Bug 1432751 |
77 | #CONFIGURE_ARGS+= --enable-system-cairo | | 77 | #CONFIGURE_ARGS+= --enable-system-cairo |
78 | CONFIGURE_ARGS+= --enable-system-pixman | | 78 | CONFIGURE_ARGS+= --enable-system-pixman |
79 | CONFIGURE_ARGS+= --with-system-libvpx | | 79 | CONFIGURE_ARGS+= --with-system-libvpx |
80 | # textproc/hunspell 1.3 is too old | | 80 | # textproc/hunspell 1.3 is too old |
81 | #CONFIGURE_ARGS+= --enable-system-hunspell | | 81 | #CONFIGURE_ARGS+= --enable-system-hunspell |
82 | CONFIGURE_ARGS+= --enable-system-ffi | | 82 | CONFIGURE_ARGS+= --enable-system-ffi |
83 | CONFIGURE_ARGS+= --with-system-icu | | 83 | CONFIGURE_ARGS+= --with-system-icu |
84 | CONFIGURE_ARGS+= --with-system-nss | | 84 | CONFIGURE_ARGS+= --with-system-nss |
85 | CONFIGURE_ARGS+= --with-system-nspr | | 85 | CONFIGURE_ARGS+= --with-system-nspr |
86 | CONFIGURE_ARGS+= --with-system-jpeg | | 86 | CONFIGURE_ARGS+= --with-system-jpeg |
87 | CONFIGURE_ARGS+= --with-system-zlib | | 87 | CONFIGURE_ARGS+= --with-system-zlib |
88 | CONFIGURE_ARGS+= --with-system-bz2 | | 88 | CONFIGURE_ARGS+= --with-system-bz2 |
89 | CONFIGURE_ARGS+= --with-system-libevent=${BUILDLINK_PREFIX.libevent} | | 89 | CONFIGURE_ARGS+= --with-system-libevent=${BUILDLINK_PREFIX.libevent} |
90 | CONFIGURE_ARGS+= --disable-crashreporter | | 90 | CONFIGURE_ARGS+= --disable-crashreporter |
91 | CONFIGURE_ARGS+= --disable-necko-wifi | | 91 | CONFIGURE_ARGS+= --disable-necko-wifi |
92 | CONFIGURE_ARGS+= --enable-chrome-format=flat | | 92 | CONFIGURE_ARGS+= --enable-chrome-format=flat |
93 | CONFIGURE_ARGS+= --disable-libjpeg-turbo | | 93 | CONFIGURE_ARGS+= --disable-libjpeg-turbo |
94 | | | 94 | |
95 | CONFIGURE_ARGS+= --disable-gconf | | 95 | CONFIGURE_ARGS+= --disable-gconf |
96 | #CONFIGURE_ARGS+= --enable-readline | | 96 | #CONFIGURE_ARGS+= --enable-readline |
97 | CONFIGURE_ARGS+= --disable-icf | | 97 | CONFIGURE_ARGS+= --disable-icf |
98 | CONFIGURE_ARGS+= --disable-updater | | 98 | CONFIGURE_ARGS+= --disable-updater |
99 | | | 99 | |
100 | SUBST_CLASSES+= fix-paths | | 100 | SUBST_CLASSES+= fix-paths |
101 | SUBST_STAGE.fix-paths= pre-configure | | 101 | SUBST_STAGE.fix-paths= pre-configure |
102 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. | | 102 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. |
103 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp | | 103 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp |
104 | SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g' | | 104 | SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g' |
105 | | | 105 | |
106 | SUBST_CLASSES+= prefix | | 106 | SUBST_CLASSES+= prefix |
107 | SUBST_STAGE.prefix= pre-configure | | 107 | SUBST_STAGE.prefix= pre-configure |
108 | SUBST_MESSAGE.prefix= Setting PREFIX | | 108 | SUBST_MESSAGE.prefix= Setting PREFIX |
109 | SUBST_FILES.prefix+= ${MOZILLA_DIR}xpcom/build/BinaryPath.h | | 109 | SUBST_FILES.prefix+= ${MOZILLA_DIR}xpcom/build/BinaryPath.h |
110 | SUBST_VARS.prefix+= PREFIX | | 110 | SUBST_VARS.prefix+= PREFIX |
111 | | | 111 | |
112 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess | | 112 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess |
113 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess | | 113 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess |
114 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess | | 114 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess |
115 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess | | 115 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess |
116 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.sub | | 116 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.sub |
117 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.sub | | 117 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.sub |
118 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.sub | | 118 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.sub |
119 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.sub | | 119 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.sub |
120 | | | 120 | |
121 | CONFIGURE_ENV+= CPP=${CPP} | | 121 | CONFIGURE_ENV+= CPP=${CPP} |
122 | | | 122 | |
123 | SUBST_CLASSES+= python | | 123 | SUBST_CLASSES+= python |
124 | SUBST_STAGE.python= pre-configure | | 124 | SUBST_STAGE.python= pre-configure |
125 | SUBST_MESSAGE.python= Fixing path to python. | | 125 | SUBST_MESSAGE.python= Fixing path to python. |
126 | SUBST_FILES.python+= media/webrtc/trunk/build/common.gypi | | 126 | SUBST_FILES.python+= media/webrtc/trunk/build/common.gypi |
127 | SUBST_SED.python+= -e 's,<!(python,<!(${PYTHONBIN},' | | 127 | SUBST_SED.python+= -e 's,<!(python,<!(${PYTHONBIN},' |
128 | | | 128 | |
129 | # Build outside ${WRKSRC} | | 129 | # Build outside ${WRKSRC} |
130 | # Try to avoid conflict with config/makefiles/xpidl/Makefile.in | | 130 | # Try to avoid conflict with config/makefiles/xpidl/Makefile.in |
131 | OBJDIR= ../build | | 131 | OBJDIR= ../build |
132 | CONFIGURE_DIRS= ${OBJDIR} | | 132 | CONFIGURE_DIRS= ${OBJDIR} |
133 | CONFIGURE_SCRIPT= ${WRKSRC}/configure | | 133 | CONFIGURE_SCRIPT= ${WRKSRC}/configure |
134 | | | 134 | |
135 | PLIST_VARS+= sps vorbis tremor glskia throwwrapper mozglue avx86 | | 135 | PLIST_VARS+= sps vorbis tremor glskia throwwrapper mozglue avx86 |
136 | | | 136 | |
137 | .include "../../mk/endian.mk" | | 137 | .include "../../mk/endian.mk" |
138 | .if ${MACHINE_ENDIAN} == "little" | | 138 | .if ${MACHINE_ENDIAN} == "little" |
139 | PLIST.glskia= yes | | 139 | PLIST.glskia= yes |
140 | .endif | | 140 | .endif |
141 | | | 141 | |
142 | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" | | 142 | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" |
143 | PLIST.avx86= yes # see media/libav/README_MOZILLA: only used on x86 | | 143 | PLIST.avx86= yes # see media/libav/README_MOZILLA: only used on x86 |
144 | .endif | | 144 | .endif |
145 | | | 145 | |
146 | .if ${MACHINE_ARCH} != "sparc64" | | 146 | .if ${MACHINE_ARCH} != "sparc64" |
147 | # For some reasons the configure test for GCC bug 26905 still triggers on | | 147 | # For some reasons the configure test for GCC bug 26905 still triggers on |
148 | # sparc64, which makes mozilla skip the installation of a few wrapper headers. | | 148 | # sparc64, which makes mozilla skip the installation of a few wrapper headers. |
149 | # Other archs end up with one additional file in the SDK headers | | 149 | # Other archs end up with one additional file in the SDK headers |
150 | PLIST.throwwrapper= yes | | 150 | PLIST.throwwrapper= yes |
151 | .endif | | 151 | .endif |
152 | | | 152 | |
153 | .if !empty(MACHINE_PLATFORM:S/i386/x86/:MLinux-*-x86*) | | 153 | .if !empty(MACHINE_PLATFORM:S/i386/x86/:MLinux-*-x86*) |
154 | PLIST.sps= yes | | 154 | PLIST.sps= yes |
155 | .endif | | 155 | .endif |
156 | | | 156 | |
157 | .if !empty(MACHINE_PLATFORM:MLinux-*-arm*) | | 157 | .if !empty(MACHINE_PLATFORM:MLinux-*-arm*) |
158 | PLIST.tremor= yes | | 158 | PLIST.tremor= yes |
159 | .else | | 159 | .else |
160 | PLIST.vorbis= yes | | 160 | PLIST.vorbis= yes |
161 | .endif | | 161 | .endif |
162 | | | 162 | |
163 | # See ${WRKSRC}/mozglue/build/moz.build: libmozglue is built and | | 163 | # See ${WRKSRC}/mozglue/build/moz.build: libmozglue is built and |
164 | # installed as a shared library on these platforms. | | 164 | # installed as a shared library on these platforms. |
165 | .if ${OPSYS} == "Cygwin" || ${OPSYS} == "Darwin" # or Android | | 165 | .if ${OPSYS} == "Cygwin" || ${OPSYS} == "Darwin" # or Android |
166 | PLIST.mozglue= yes | | 166 | PLIST.mozglue= yes |
167 | .endif | | 167 | .endif |
168 | | | 168 | |
169 | # See ${WRKSRC}/security/sandbox/mac/Sandbox.mm: On Darwin, sandboxing | | 169 | # See ${WRKSRC}/security/sandbox/mac/Sandbox.mm: On Darwin, sandboxing |
170 | # support is only available when the toolkit is cairo-cocoa. | | 170 | # support is only available when the toolkit is cairo-cocoa. |
171 | CONFIGURE_ARGS.Darwin+= --disable-sandbox | | 171 | CONFIGURE_ARGS.Darwin+= --disable-sandbox |
172 | | | 172 | |
173 | # See ${WRKSRC}/configure.in: It tries to use MacOS X 10.6 SDK by | | 173 | # See ${WRKSRC}/configure.in: It tries to use MacOS X 10.6 SDK by |
174 | # default, which is not always possible. | | 174 | # default, which is not always possible. |
175 | .if !empty(MACHINE_PLATFORM:MDarwin-8.*-*) | | 175 | .if !empty(MACHINE_PLATFORM:MDarwin-8.*-*) |
176 | CONFIGURE_ARGS+= --enable-macos-target=10.4 | | 176 | CONFIGURE_ARGS+= --enable-macos-target=10.4 |
177 | .elif !empty(MACHINE_PLATFORM:MDarwin-9.*-*) | | 177 | .elif !empty(MACHINE_PLATFORM:MDarwin-9.*-*) |
178 | CONFIGURE_ARGS+= --enable-macos-target=10.5 | | 178 | CONFIGURE_ARGS+= --enable-macos-target=10.5 |
179 | .endif | | 179 | .endif |
180 | | | 180 | |
181 | # Makefiles sometimes call "rm -f" without more arguments. Kludge around ... | | 181 | # Makefiles sometimes call "rm -f" without more arguments. Kludge around ... |
182 | .PHONY: create-rm-wrapper | | 182 | .PHONY: create-rm-wrapper |
183 | pre-configure: create-rm-wrapper | | 183 | pre-configure: create-rm-wrapper |
184 | create-rm-wrapper: | | 184 | create-rm-wrapper: |
185 | printf '#!/bin/sh\n[ "$$*" = "-f" ] && exit 0\nexec /bin/rm $$@\n' > \ | | 185 | printf '#!/bin/sh\n[ "$$*" = "-f" ] && exit 0\nexec /bin/rm $$@\n' > \ |
186 | ${WRAPPER_DIR}/bin/rm | | 186 | ${WRAPPER_DIR}/bin/rm |
187 | chmod +x ${WRAPPER_DIR}/bin/rm | | 187 | chmod +x ${WRAPPER_DIR}/bin/rm |
188 | | | 188 | |
189 | # The configure test for __thread succeeds, but later we end up with: | | 189 | # The configure test for __thread succeeds, but later we end up with: |
190 | # dist/bin/libxul.so: undefined reference to `__tls_get_addr' | | 190 | # dist/bin/libxul.so: undefined reference to `__tls_get_addr' |
191 | CONFIGURE_ENV.NetBSD+= ac_cv_thread_keyword=no | | 191 | CONFIGURE_ENV.NetBSD+= ac_cv_thread_keyword=no |
192 | | | 192 | |
193 | .if ${OPSYS} == "SunOS" | | 193 | .if ${OPSYS} == "SunOS" |
194 | # native libbz2.so hides BZ2_crc32Table | | 194 | # native libbz2.so hides BZ2_crc32Table |
195 | PREFER.bzip2?= pkgsrc | | 195 | PREFER.bzip2?= pkgsrc |
196 | .endif | | 196 | .endif |
197 | | | 197 | |
198 | .if ${OPSYS} == "OpenBSD" | | 198 | .if ${OPSYS} == "OpenBSD" |
199 | PLIST_SUBST+= DLL_SUFFIX=".so.1.0" | | 199 | PLIST_SUBST+= DLL_SUFFIX=".so.1.0" |
200 | .elif ${OPSYS} == "Darwin" | | 200 | .elif ${OPSYS} == "Darwin" |
201 | PLIST_SUBST+= DLL_SUFFIX=".dylib" | | 201 | PLIST_SUBST+= DLL_SUFFIX=".dylib" |
202 | .else | | 202 | .else |
203 | PLIST_SUBST+= DLL_SUFFIX=".so" | | 203 | PLIST_SUBST+= DLL_SUFFIX=".so" |
204 | .endif | | 204 | .endif |
205 | | | 205 | |
206 | .include "../../archivers/bzip2/buildlink3.mk" | | 206 | .include "../../archivers/bzip2/buildlink3.mk" |
207 | BUILDLINK_API_DEPENDS.libevent+= libevent>=1.1 | | 207 | BUILDLINK_API_DEPENDS.libevent+= libevent>=1.1 |
208 | .include "../../devel/libevent/buildlink3.mk" | | 208 | .include "../../devel/libevent/buildlink3.mk" |
209 | .include "../../devel/libffi/buildlink3.mk" | | 209 | .include "../../devel/libffi/buildlink3.mk" |
210 | BUILDLINK_API_DEPENDS.nspr+= nspr>=4.18 | | 210 | BUILDLINK_API_DEPENDS.nspr+= nspr>=4.18 |
211 | .include "../../devel/nspr/buildlink3.mk" | | 211 | .include "../../devel/nspr/buildlink3.mk" |
212 | .include "../../textproc/icu/buildlink3.mk" | | 212 | .include "../../textproc/icu/buildlink3.mk" |
213 | BUILDLINK_API_DEPENDS.nss+= nss>=3.37.3 | | 213 | BUILDLINK_API_DEPENDS.nss+= nss>=3.37.3 |
214 | .include "../../devel/nss/buildlink3.mk" | | 214 | .include "../../devel/nss/buildlink3.mk" |
215 | .include "../../devel/zlib/buildlink3.mk" | | 215 | .include "../../devel/zlib/buildlink3.mk" |
216 | .include "../../mk/jpeg.buildlink3.mk" | | 216 | .include "../../mk/jpeg.buildlink3.mk" |
217 | .include "../../graphics/MesaLib/buildlink3.mk" | | 217 | .include "../../graphics/MesaLib/buildlink3.mk" |
218 | #BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10.2nb4 | | 218 | #BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10.2nb4 |
219 | #.include "../../graphics/cairo/buildlink3.mk" | | 219 | #.include "../../graphics/cairo/buildlink3.mk" |
220 | BUILDLINK_DEPMETHOD.clang= build | | 220 | BUILDLINK_DEPMETHOD.clang= build |
221 | .include "../../lang/clang/buildlink3.mk" | | 221 | .include "../../lang/clang/buildlink3.mk" |
222 | BUILDLINK_API_DEPENDS.rust+= rust>=1.23.0 | | 222 | BUILDLINK_API_DEPENDS.rust+= rust>=1.23.0 |
223 | BUILDLINK_DEPMETHOD.rust= build | | 223 | BUILDLINK_DEPMETHOD.rust= build |
224 | .include "../../lang/rust/buildlink3.mk" | | 224 | .include "../../lang/rust/buildlink3.mk" |
225 | BUILDLINK_API_DEPENDS.libvpx+= libvpx>=1.3.0 | | 225 | BUILDLINK_API_DEPENDS.libvpx+= libvpx>=1.3.0 |
226 | .include "../../multimedia/libvpx/buildlink3.mk" | | 226 | .include "../../multimedia/libvpx/buildlink3.mk" |
227 | .include "../../net/libIDL/buildlink3.mk" | | 227 | .include "../../net/libIDL/buildlink3.mk" |
228 | # textproc/hunspell 1.3 is too old | | 228 | # textproc/hunspell 1.3 is too old |
229 | #.include "../../textproc/hunspell/buildlink3.mk" | | 229 | #.include "../../textproc/hunspell/buildlink3.mk" |
230 | .include "../../multimedia/ffmpeg3/buildlink3.mk" | | 230 | .include "../../multimedia/ffmpeg4/buildlink3.mk" |
231 | .include "../../x11/libXt/buildlink3.mk" | | 231 | .include "../../x11/libXt/buildlink3.mk" |
232 | BUILDLINK_API_DEPENDS.pixman+= pixman>=0.25.2 | | 232 | BUILDLINK_API_DEPENDS.pixman+= pixman>=0.25.2 |
233 | .include "../../x11/pixman/buildlink3.mk" | | 233 | .include "../../x11/pixman/buildlink3.mk" |
234 | .include "../../x11/gtk2/buildlink3.mk" | | 234 | .include "../../x11/gtk2/buildlink3.mk" |
235 | .include "../../x11/gtk3/buildlink3.mk" | | 235 | .include "../../x11/gtk3/buildlink3.mk" |
236 | .include "../../lang/python/pyversion.mk" | | 236 | .include "../../lang/python/pyversion.mk" |