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