| @@ -1,244 +1,244 @@ | | | @@ -1,244 +1,244 @@ |
1 | # $NetBSD: mozilla-common.mk,v 1.55 2015/05/16 04:16:04 ryoon Exp $ | | 1 | # $NetBSD: mozilla-common.mk,v 1.56 2015/05/16 20:08:36 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 | # used by www/seamonkey/Makefile | | 6 | # used by www/seamonkey/Makefile |
7 | | | 7 | |
8 | GNU_CONFIGURE= yes | | 8 | GNU_CONFIGURE= yes |
9 | USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip | | 9 | USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip |
10 | USE_LANGUAGES+= c99 c++ | | 10 | USE_LANGUAGES+= c99 c++ |
11 | UNLIMIT_RESOURCES+= datasize | | 11 | UNLIMIT_RESOURCES+= datasize |
12 | | | 12 | |
13 | test: | | 13 | test: |
14 | cd ${WRKSRC}/${OBJDIR}/dist/bin && \ | | 14 | cd ${WRKSRC}/${OBJDIR}/dist/bin && \ |
15 | ./run-mozilla.sh ${WRKSRC}/mach check-spidermonkey | | 15 | ./run-mozilla.sh ${WRKSRC}/mach check-spidermonkey |
16 | | | 16 | |
17 | .include "../../mk/bsd.prefs.mk" | | 17 | .include "../../mk/bsd.prefs.mk" |
18 | # tar(1) of OpenBSD 5.5 has no --exclude command line option. | | 18 | # tar(1) of OpenBSD 5.5 has no --exclude command line option. |
19 | .if ${OPSYS} == "OpenBSD" | | 19 | .if ${OPSYS} == "OpenBSD" |
20 | TOOLS_PLATFORM.tar= ${TOOLS_PREFIX.bsdtar}/bin/bsdtar | | 20 | TOOLS_PLATFORM.tar= ${TOOLS_PREFIX.bsdtar}/bin/bsdtar |
21 | USE_TOOLS+= bsdtar | | 21 | USE_TOOLS+= bsdtar |
22 | .endif | | 22 | .endif |
23 | # GCC 4.6 is required to support nullptr. | | 23 | # GCC 4.6 is required to support nullptr. |
24 | GCC_REQD+= 4.8 | | 24 | GCC_REQD+= 4.8 |
25 | .if ${MACHINE_ARCH} == "i386" | | 25 | .if ${MACHINE_ARCH} == "i386" |
26 | # Fix for PR pkg/48152. | | 26 | # Fix for PR pkg/48152. |
27 | CPPFLAGS+= -march=i486 | | 27 | CPPFLAGS+= -march=i486 |
28 | # This is required for SSE2 code under i386. | | 28 | # This is required for SSE2 code under i386. |
29 | CPPFLAGS+= -mstackrealign | | 29 | CPPFLAGS+= -mstackrealign |
30 | .endif | | 30 | .endif |
31 | | | 31 | |
32 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}security/nss/tests/libpkix/libpkix.sh | | 32 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}security/nss/tests/libpkix/libpkix.sh |
33 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}security/nss/tests/multinit/multinit.sh | | 33 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}security/nss/tests/multinit/multinit.sh |
34 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}js/src/tests/update-test262.sh | | 34 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}js/src/tests/update-test262.sh |
35 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}intl/icu/source/configure | | 35 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}intl/icu/source/configure |
36 | | | 36 | |
37 | CONFIGURE_ARGS+= --disable-tests | | 37 | CONFIGURE_ARGS+= --disable-tests |
38 | CONFIGURE_ARGS+= --disable-pedantic | | 38 | CONFIGURE_ARGS+= --disable-pedantic |
39 | CONFIGURE_ARGS+= --enable-crypto | | 39 | CONFIGURE_ARGS+= --enable-crypto |
40 | CONFIGURE_ARGS+= --with-pthreads | | 40 | CONFIGURE_ARGS+= --with-pthreads |
41 | CONFIGURE_ARGS+= --disable-javaxpcom | | 41 | CONFIGURE_ARGS+= --disable-javaxpcom |
42 | CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk2 | | 42 | CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk2 |
43 | CONFIGURE_ARGS+= --enable-gstreamer=1.0 | | 43 | CONFIGURE_ARGS+= --enable-gstreamer=1.0 |
44 | #CONFIGURE_ARGS+= --disable-gstreamer | | 44 | #CONFIGURE_ARGS+= --disable-gstreamer |
45 | CONFIGURE_ARGS+= --enable-svg | | 45 | CONFIGURE_ARGS+= --enable-svg |
46 | CONFIGURE_ARGS+= --enable-mathml | | 46 | CONFIGURE_ARGS+= --enable-mathml |
47 | CONFIGURE_ARGS+= --enable-pango | | 47 | CONFIGURE_ARGS+= --enable-pango |
48 | CONFIGURE_ARGS+= --enable-system-cairo | | 48 | CONFIGURE_ARGS+= --enable-system-cairo |
49 | CONFIGURE_ARGS+= --enable-system-pixman | | 49 | CONFIGURE_ARGS+= --enable-system-pixman |
50 | CONFIGURE_ARGS+= --with-system-libvpx | | 50 | CONFIGURE_ARGS+= --with-system-libvpx |
51 | CONFIGURE_ARGS+= --enable-system-hunspell | | 51 | CONFIGURE_ARGS+= --enable-system-hunspell |
52 | CONFIGURE_ARGS+= --enable-system-ffi | | 52 | CONFIGURE_ARGS+= --enable-system-ffi |
53 | CONFIGURE_ARGS+= --with-system-icu | | 53 | CONFIGURE_ARGS+= --with-system-icu |
54 | CONFIGURE_ARGS+= --with-system-nss | | 54 | CONFIGURE_ARGS+= --with-system-nss |
55 | CONFIGURE_ARGS+= --with-system-nspr | | 55 | CONFIGURE_ARGS+= --with-system-nspr |
56 | CONFIGURE_ARGS+= --with-system-jpeg | | 56 | CONFIGURE_ARGS+= --with-system-jpeg |
57 | CONFIGURE_ARGS+= --with-system-zlib | | 57 | CONFIGURE_ARGS+= --with-system-zlib |
58 | CONFIGURE_ARGS+= --with-system-bz2 | | 58 | CONFIGURE_ARGS+= --with-system-bz2 |
59 | # 1.2 or later is required. | | 59 | # 1.2 or later is required. |
60 | #CONFIGURE_ARGS+= --with-system-theora | | 60 | #CONFIGURE_ARGS+= --with-system-theora |
61 | #CONFIGURE_ARGS+= --with-system-ogg | | 61 | #CONFIGURE_ARGS+= --with-system-ogg |
62 | #CONFIGURE_ARGS+= --with-system-tremor | | 62 | #CONFIGURE_ARGS+= --with-system-tremor |
63 | #CONFIGURE_ARGS+= --with-system-vorbis | | 63 | #CONFIGURE_ARGS+= --with-system-vorbis |
64 | # opus support requires Ogg Theora support | | 64 | # opus support requires Ogg Theora support |
65 | #CONFIGURE_ARGS+= --with-system-opus | | 65 | #CONFIGURE_ARGS+= --with-system-opus |
66 | CONFIGURE_ARGS+= --with-system-graphite2 | | 66 | CONFIGURE_ARGS+= --with-system-graphite2 |
67 | CONFIGURE_ARGS+= --with-system-harfbuzz | | 67 | CONFIGURE_ARGS+= --with-system-harfbuzz |
68 | CONFIGURE_ARGS+= --with-system-libevent=${BUILDLINK_PREFIX.libevent} | | 68 | CONFIGURE_ARGS+= --with-system-libevent=${BUILDLINK_PREFIX.libevent} |
69 | CONFIGURE_ARGS+= --enable-system-sqlite | | 69 | CONFIGURE_ARGS+= --enable-system-sqlite |
70 | CONFIGURE_ARGS+= --disable-crashreporter | | 70 | CONFIGURE_ARGS+= --disable-crashreporter |
71 | CONFIGURE_ARGS+= --disable-libnotify | | 71 | CONFIGURE_ARGS+= --disable-libnotify |
72 | CONFIGURE_ARGS+= --disable-necko-wifi | | 72 | CONFIGURE_ARGS+= --disable-necko-wifi |
73 | CONFIGURE_ARGS+= --enable-chrome-format=flat | | 73 | CONFIGURE_ARGS+= --enable-chrome-format=flat |
74 | CONFIGURE_ARGS+= --disable-libjpeg-turbo | | 74 | CONFIGURE_ARGS+= --disable-libjpeg-turbo |
75 | | | 75 | |
76 | CONFIGURE_ARGS+= --disable-elf-hack | | 76 | CONFIGURE_ARGS+= --disable-elf-hack |
77 | CONFIGURE_ARGS+= --disable-elf-dynstr-gc | | 77 | CONFIGURE_ARGS+= --disable-elf-dynstr-gc |
78 | CONFIGURE_ARGS+= --disable-gconf | | 78 | CONFIGURE_ARGS+= --disable-gconf |
79 | CONFIGURE_ARGS+= --enable-gio | | 79 | CONFIGURE_ARGS+= --enable-gio |
80 | CONFIGURE_ARGS+= --enable-extensions=gio | | 80 | CONFIGURE_ARGS+= --enable-extensions=gio |
81 | CONFIGURE_ARGS+= --disable-mochitest | | 81 | CONFIGURE_ARGS+= --disable-mochitest |
82 | CONFIGURE_ARGS+= --enable-canvas | | 82 | CONFIGURE_ARGS+= --enable-canvas |
83 | #CONFIGURE_ARGS+= --enable-readline | | 83 | #CONFIGURE_ARGS+= --enable-readline |
84 | CONFIGURE_ARGS+= --disable-installer | | 84 | CONFIGURE_ARGS+= --disable-installer |
85 | CONFIGURE_ARGS+= --enable-url-classifier | | 85 | CONFIGURE_ARGS+= --enable-url-classifier |
86 | #CONFIGURE_ARGS+= --enable-startup-notification | | 86 | #CONFIGURE_ARGS+= --enable-startup-notification |
87 | # Disabled from https://bugzilla.mozilla.org/show_bug.cgi?id=977400 | | 87 | # Disabled from https://bugzilla.mozilla.org/show_bug.cgi?id=977400 |
88 | CONFIGURE_ARGS+= --enable-shared-js | | 88 | CONFIGURE_ARGS+= --enable-shared-js |
89 | CONFIGURE_ARGS+= --with-system-ply | | 89 | CONFIGURE_ARGS+= --with-system-ply |
90 | CONFIGURE_ARGS+= --disable-icf | | 90 | CONFIGURE_ARGS+= --disable-icf |
91 | CONFIGURE_ARGS+= --disable-necko-wifi | | 91 | CONFIGURE_ARGS+= --disable-necko-wifi |
92 | CONFIGURE_ARGS+= --disable-updater | | 92 | CONFIGURE_ARGS+= --disable-updater |
93 | | | 93 | |
94 | SUBST_CLASSES+= fix-paths | | 94 | SUBST_CLASSES+= fix-paths |
95 | SUBST_STAGE.fix-paths= pre-configure | | 95 | SUBST_STAGE.fix-paths= pre-configure |
96 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. | | 96 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. |
97 | SUBST_FILES.fix-paths= ${MOZILLA_DIR}xpcom/build/nsXPCOMPrivate.h | | 97 | SUBST_FILES.fix-paths= ${MOZILLA_DIR}xpcom/build/nsXPCOMPrivate.h |
98 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp | | 98 | 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' | | 99 | SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g' |
100 | | | 100 | |
101 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess | | 101 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess |
102 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess | | 102 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess |
103 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess | | 103 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess |
104 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess | | 104 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess |
105 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.sub | | 105 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.sub |
106 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.sub | | 106 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.sub |
107 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.sub | | 107 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.sub |
108 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.sub | | 108 | CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.sub |
109 | | | 109 | |
110 | PYTHON_VERSIONS_ACCEPTED= 27 | | 110 | PYTHON_VERSIONS_ACCEPTED= 27 |
111 | PYTHON_FOR_BUILD_ONLY= yes | | 111 | PYTHON_FOR_BUILD_ONLY= yes |
112 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-sqlite2 | | 112 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-sqlite2 |
113 | .include "../../lang/python/application.mk" | | 113 | .include "../../lang/python/application.mk" |
114 | CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} | | 114 | CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} |
115 | | | 115 | |
116 | #BUILD_MAKE_FLAGS+= MOZ_WEBRTC_IN_LIBXUL=1 | | 116 | #BUILD_MAKE_FLAGS+= MOZ_WEBRTC_IN_LIBXUL=1 |
117 | | | 117 | |
118 | SUBST_CLASSES+= python | | 118 | SUBST_CLASSES+= python |
119 | SUBST_STAGE.python= pre-configure | | 119 | SUBST_STAGE.python= pre-configure |
120 | SUBST_MESSAGE.python= Fixing path to python. | | 120 | SUBST_MESSAGE.python= Fixing path to python. |
121 | SUBST_FILES.python+= media/webrtc/trunk/build/common.gypi | | 121 | SUBST_FILES.python+= media/webrtc/trunk/build/common.gypi |
122 | SUBST_SED.python+= -e 's,<!(python,<!(${PYTHONBIN},' | | 122 | SUBST_SED.python+= -e 's,<!(python,<!(${PYTHONBIN},' |
123 | | | 123 | |
124 | # Build outside ${WRKSRC} | | 124 | # Build outside ${WRKSRC} |
125 | # Try to avoid conflict with config/makefiles/xpidl/Makefile.in | | 125 | # Try to avoid conflict with config/makefiles/xpidl/Makefile.in |
126 | OBJDIR= ../build | | 126 | OBJDIR= ../build |
127 | CONFIGURE_DIRS= ${OBJDIR} | | 127 | CONFIGURE_DIRS= ${OBJDIR} |
128 | CONFIGURE_SCRIPT= ${WRKSRC}/configure | | 128 | CONFIGURE_SCRIPT= ${WRKSRC}/configure |
129 | | | 129 | |
130 | PLIST_VARS+= sps vorbis tremor glskia throwwrapper mozglue | | 130 | PLIST_VARS+= sps vorbis tremor glskia throwwrapper mozglue |
131 | | | 131 | |
132 | .include "../../mk/endian.mk" | | 132 | .include "../../mk/endian.mk" |
133 | .if ${MACHINE_ENDIAN} == "little" | | 133 | .if ${MACHINE_ENDIAN} == "little" |
134 | PLIST.glskia= yes | | 134 | PLIST.glskia= yes |
135 | .endif | | 135 | .endif |
136 | | | 136 | |
137 | .if ${MACHINE_ARCH} != "sparc64" | | 137 | .if ${MACHINE_ARCH} != "sparc64" |
138 | # For some reasons the configure test for GCC bug 26905 still triggers on | | 138 | # For some reasons the configure test for GCC bug 26905 still triggers on |
139 | # sparc64, which makes mozilla skip the installation of a few wrapper headers. | | 139 | # sparc64, which makes mozilla skip the installation of a few wrapper headers. |
140 | # Other archs end up with one additional file in the SDK headers | | 140 | # Other archs end up with one additional file in the SDK headers |
141 | PLIST.throwwrapper= yes | | 141 | PLIST.throwwrapper= yes |
142 | .endif | | 142 | .endif |
143 | | | 143 | |
144 | .if !empty(MACHINE_PLATFORM:S/i386/x86/:MLinux-*-x86*) | | 144 | .if !empty(MACHINE_PLATFORM:S/i386/x86/:MLinux-*-x86*) |
145 | PLIST.sps= yes | | 145 | PLIST.sps= yes |
146 | .endif | | 146 | .endif |
147 | | | 147 | |
148 | .if !empty(MACHINE_PLATFORM:MLinux-*-arm*) | | 148 | .if !empty(MACHINE_PLATFORM:MLinux-*-arm*) |
149 | PLIST.tremor= yes | | 149 | PLIST.tremor= yes |
150 | .else | | 150 | .else |
151 | PLIST.vorbis= yes | | 151 | PLIST.vorbis= yes |
152 | .endif | | 152 | .endif |
153 | | | 153 | |
154 | # See ${WRKSRC}/mozglue/build/moz.build: libmozglue is built and | | 154 | # See ${WRKSRC}/mozglue/build/moz.build: libmozglue is built and |
155 | # installed as a shared library on these platforms. | | 155 | # installed as a shared library on these platforms. |
156 | .if ${OPSYS} == "Cygwin" || ${OPSYS} == "Darwin" # or Android | | 156 | .if ${OPSYS} == "Cygwin" || ${OPSYS} == "Darwin" # or Android |
157 | PLIST.mozglue= yes | | 157 | PLIST.mozglue= yes |
158 | .endif | | 158 | .endif |
159 | | | 159 | |
160 | # See ${WRKSRC}/security/sandbox/mac/Sandbox.mm: On Darwin, sandboxing | | 160 | # See ${WRKSRC}/security/sandbox/mac/Sandbox.mm: On Darwin, sandboxing |
161 | # support is only available when the toolkit is cairo-cocoa. | | 161 | # support is only available when the toolkit is cairo-cocoa. |
162 | .if ${OPSYS} == "Darwin" | | 162 | .if ${OPSYS} == "Darwin" |
163 | CONFIGURE_ARGS+= --disable-sandbox | | 163 | CONFIGURE_ARGS+= --disable-sandbox |
164 | .endif | | 164 | .endif |
165 | | | 165 | |
166 | # See ${WRKSRC}/configure.in: It tries to use MacOS X 10.6 SDK by | | 166 | # See ${WRKSRC}/configure.in: It tries to use MacOS X 10.6 SDK by |
167 | # default, which is not always possible. | | 167 | # default, which is not always possible. |
168 | .if !empty(MACHINE_PLATFORM:MDarwin-8.*-*) | | 168 | .if !empty(MACHINE_PLATFORM:MDarwin-8.*-*) |
169 | CONFIGURE_ARGS+= --enable-macos-target=10.4 | | 169 | CONFIGURE_ARGS+= --enable-macos-target=10.4 |
170 | .elif !empty(MACHINE_PLATFORM:MDarwin-9.*-*) | | 170 | .elif !empty(MACHINE_PLATFORM:MDarwin-9.*-*) |
171 | CONFIGURE_ARGS+= --enable-macos-target=10.5 | | 171 | CONFIGURE_ARGS+= --enable-macos-target=10.5 |
172 | .endif | | 172 | .endif |
173 | | | 173 | |
174 | # | | 174 | # |
175 | # pysqlite2 is used by xulrunner's Python virtualenv. If pysqlite2 isn't | | 175 | # pysqlite2 is used by xulrunner's Python virtualenv. If pysqlite2 isn't |
176 | # installed at build time it will attempt to download it instead, so the | | 176 | # installed at build time it will attempt to download it instead, so the |
177 | # problem is stealthy in a networked environment, and obvious in an | | 177 | # problem is stealthy in a networked environment, and obvious in an |
178 | # offline environment. | | 178 | # offline environment. |
179 | # | | 179 | # |
180 | BUILD_DEPENDS+= ${PYPKGPREFIX}-sqlite2-[0-9]*:../../databases/py-sqlite2 | | 180 | BUILD_DEPENDS+= ${PYPKGPREFIX}-sqlite2-[0-9]*:../../databases/py-sqlite2 |
181 | | | 181 | |
182 | # Makefiles sometimes call "rm -f" without more arguments. Kludge around ... | | 182 | # Makefiles sometimes call "rm -f" without more arguments. Kludge around ... |
183 | .PHONY: create-rm-wrapper | | 183 | .PHONY: create-rm-wrapper |
184 | pre-configure: create-rm-wrapper | | 184 | pre-configure: create-rm-wrapper |
185 | create-rm-wrapper: | | 185 | create-rm-wrapper: |
186 | printf '#!/bin/sh\n[ "$$*" = "-f" ] && exit 0\nexec /bin/rm $$@\n' > \ | | 186 | printf '#!/bin/sh\n[ "$$*" = "-f" ] && exit 0\nexec /bin/rm $$@\n' > \ |
187 | ${WRAPPER_DIR}/bin/rm | | 187 | ${WRAPPER_DIR}/bin/rm |
188 | chmod +x ${WRAPPER_DIR}/bin/rm | | 188 | chmod +x ${WRAPPER_DIR}/bin/rm |
189 | | | 189 | |
190 | .include "../../mk/bsd.prefs.mk" | | 190 | .include "../../mk/bsd.prefs.mk" |
191 | | | 191 | |
192 | .if ${OPSYS} == "NetBSD" | | 192 | .if ${OPSYS} == "NetBSD" |
193 | # The configure test for __thread succeeds, but later we end up with: | | 193 | # The configure test for __thread succeeds, but later we end up with: |
194 | # dist/bin/libxul.so: undefined reference to `__tls_get_addr' | | 194 | # dist/bin/libxul.so: undefined reference to `__tls_get_addr' |
195 | CONFIGURE_ENV+= ac_cv_thread_keyword=no | | 195 | CONFIGURE_ENV+= ac_cv_thread_keyword=no |
196 | .endif | | 196 | .endif |
197 | | | 197 | |
198 | .if ${OPSYS} == "SunOS" | | 198 | .if ${OPSYS} == "SunOS" |
199 | # native libbz2.so hides BZ2_crc32Table | | 199 | # native libbz2.so hides BZ2_crc32Table |
200 | PREFER.bzip2?= pkgsrc | | 200 | PREFER.bzip2?= pkgsrc |
201 | .endif | | 201 | .endif |
202 | | | 202 | |
203 | .if ${OPSYS} == "OpenBSD" | | 203 | .if ${OPSYS} == "OpenBSD" |
204 | PLIST_SUBST+= DLL_SUFFIX=".so.1.0" | | 204 | PLIST_SUBST+= DLL_SUFFIX=".so.1.0" |
205 | .elif ${OPSYS} == "Darwin" | | 205 | .elif ${OPSYS} == "Darwin" |
206 | PLIST_SUBST+= DLL_SUFFIX=".dylib" | | 206 | PLIST_SUBST+= DLL_SUFFIX=".dylib" |
207 | .else | | 207 | .else |
208 | PLIST_SUBST+= DLL_SUFFIX=".so" | | 208 | PLIST_SUBST+= DLL_SUFFIX=".so" |
209 | .endif | | 209 | .endif |
210 | | | 210 | |
211 | .include "../../archivers/bzip2/buildlink3.mk" | | 211 | .include "../../archivers/bzip2/buildlink3.mk" |
212 | #.include "../../audio/libopus/buildlink3.mk" | | 212 | #.include "../../audio/libopus/buildlink3.mk" |
213 | #.include "../../audio/tremor/buildlink3.mk" | | 213 | #.include "../../audio/tremor/buildlink3.mk" |
214 | #.include "../../audio/libvorbis/buildlink3.mk" | | 214 | #.include "../../audio/libvorbis/buildlink3.mk" |
215 | BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.8.7.4 | | 215 | BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.8.9 |
216 | CONFIGURE_ENV+= ac_cv_sqlite_secure_delete=yes # c.f. patches/patch-al | | 216 | CONFIGURE_ENV+= ac_cv_sqlite_secure_delete=yes # c.f. patches/patch-al |
217 | .include "../../databases/sqlite3/buildlink3.mk" | | 217 | .include "../../databases/sqlite3/buildlink3.mk" |
218 | BUILDLINK_API_DEPENDS.libevent+= libevent>=1.1 | | 218 | BUILDLINK_API_DEPENDS.libevent+= libevent>=1.1 |
219 | .include "../../devel/libevent/buildlink3.mk" | | 219 | .include "../../devel/libevent/buildlink3.mk" |
220 | .include "../../devel/libffi/buildlink3.mk" | | 220 | .include "../../devel/libffi/buildlink3.mk" |
221 | BUILDLINK_API_DEPENDS.nspr+= nspr>=4.10.8 | | 221 | BUILDLINK_API_DEPENDS.nspr+= nspr>=4.10.8 |
222 | .include "../../devel/nspr/buildlink3.mk" | | 222 | .include "../../devel/nspr/buildlink3.mk" |
223 | .include "../../textproc/icu/buildlink3.mk" | | 223 | .include "../../textproc/icu/buildlink3.mk" |
224 | BUILDLINK_API_DEPENDS.nss+= nss>=3.18.1 | | 224 | BUILDLINK_API_DEPENDS.nss+= nss>=3.18.1 |
225 | .include "../../devel/nss/buildlink3.mk" | | 225 | .include "../../devel/nss/buildlink3.mk" |
226 | .include "../../devel/zlib/buildlink3.mk" | | 226 | .include "../../devel/zlib/buildlink3.mk" |
227 | .include "../../mk/jpeg.buildlink3.mk" | | 227 | .include "../../mk/jpeg.buildlink3.mk" |
228 | .include "../../graphics/MesaLib/buildlink3.mk" | | 228 | .include "../../graphics/MesaLib/buildlink3.mk" |
229 | BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10.2nb4 | | 229 | BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10.2nb4 |
230 | .include "../../graphics/cairo/buildlink3.mk" | | 230 | .include "../../graphics/cairo/buildlink3.mk" |
231 | .include "../../graphics/graphite2/buildlink3.mk" | | 231 | .include "../../graphics/graphite2/buildlink3.mk" |
232 | #.include "../../multimedia/libogg/buildlink3.mk" | | 232 | #.include "../../multimedia/libogg/buildlink3.mk" |
233 | #.include "../../multimedia/libtheora/buildlink3.mk" | | 233 | #.include "../../multimedia/libtheora/buildlink3.mk" |
234 | BUILDLINK_API_DEPENDS.libvpx+= libvpx>=1.3.0 | | 234 | BUILDLINK_API_DEPENDS.libvpx+= libvpx>=1.3.0 |
235 | .include "../../multimedia/libvpx/buildlink3.mk" | | 235 | .include "../../multimedia/libvpx/buildlink3.mk" |
236 | .include "../../net/libIDL/buildlink3.mk" | | 236 | .include "../../net/libIDL/buildlink3.mk" |
237 | .include "../../textproc/hunspell/buildlink3.mk" | | 237 | .include "../../textproc/hunspell/buildlink3.mk" |
238 | BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.18.3nb1 | | 238 | BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.18.3nb1 |
239 | .include "../../x11/gtk2/buildlink3.mk" | | 239 | .include "../../x11/gtk2/buildlink3.mk" |
240 | .include "../../multimedia/gstreamer1/buildlink3.mk" | | 240 | .include "../../multimedia/gstreamer1/buildlink3.mk" |
241 | .include "../../multimedia/gst-plugins1-base/buildlink3.mk" | | 241 | .include "../../multimedia/gst-plugins1-base/buildlink3.mk" |
242 | .include "../../x11/libXt/buildlink3.mk" | | 242 | .include "../../x11/libXt/buildlink3.mk" |
243 | BUILDLINK_API_DEPENDS.pixman+= pixman>=0.25.2 | | 243 | BUILDLINK_API_DEPENDS.pixman+= pixman>=0.25.2 |
244 | .include "../../x11/pixman/buildlink3.mk" | | 244 | .include "../../x11/pixman/buildlink3.mk" |