| @@ -1,33 +1,33 @@ | | | @@ -1,33 +1,33 @@ |
1 | # $NetBSD: options.mk,v 1.67 2022/07/17 17:37:11 tnn Exp $ | | 1 | # $NetBSD: options.mk,v 1.68 2022/07/20 22:09:56 wiz Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.firefox | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.firefox |
4 | | | 4 | |
5 | PKG_SUPPORTED_OPTIONS= official-mozilla-branding | | 5 | PKG_SUPPORTED_OPTIONS= official-mozilla-branding |
6 | PKG_SUPPORTED_OPTIONS+= debug debug-info mozilla-jemalloc webrtc | | 6 | PKG_SUPPORTED_OPTIONS+= debug debug-info mozilla-jemalloc webrtc |
7 | PKG_SUPPORTED_OPTIONS+= dbus | | 7 | PKG_SUPPORTED_OPTIONS+= dbus |
8 | PKG_SUPPORTED_OPTIONS+= alsa pulseaudio sunaudio jack | | 8 | PKG_SUPPORTED_OPTIONS+= alsa pulseaudio sunaudio jack |
9 | | | 9 | |
10 | PKG_SUGGESTED_OPTIONS+= dbus | | 10 | PKG_SUGGESTED_OPTIONS+= dbus |
11 | | | 11 | |
12 | .if ${OPSYS} == "Linux" | | 12 | .if ${OPSYS} == "Linux" |
13 | PKG_SUGGESTED_OPTIONS+= pulseaudio mozilla-jemalloc webrtc | | 13 | PKG_SUGGESTED_OPTIONS+= pulseaudio mozilla-jemalloc webrtc |
14 | .endif | | 14 | .endif |
15 | | | 15 | |
16 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" | | 16 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" |
17 | PKG_SUGGESTED_OPTIONS+= sunaudio | | 17 | PKG_SUGGESTED_OPTIONS+= sunaudio |
18 | .endif | | 18 | .endif |
19 | | | 19 | |
20 | .if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 090000 && (!empty(MACHINE_ARCH:Mx86_64) || !empty(MACHINE_ARCH:Mi386)) | | 20 | .if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 090000 && (${MACHINE_ARCH} == x86_64 || ${MACHINE_ARCH} == i386) |
21 | PKG_SUGGESTED_OPTIONS+= webrtc | | 21 | PKG_SUGGESTED_OPTIONS+= webrtc |
22 | .endif | | 22 | .endif |
23 | | | 23 | |
24 | .include "../../mk/bsd.options.mk" | | 24 | .include "../../mk/bsd.options.mk" |
25 | | | 25 | |
26 | .if !empty(PKG_OPTIONS:Malsa) | | 26 | .if !empty(PKG_OPTIONS:Malsa) |
27 | AUDIO_BACKENDS+= alsa | | 27 | AUDIO_BACKENDS+= alsa |
28 | .include "../../audio/alsa-lib/buildlink3.mk" | | 28 | .include "../../audio/alsa-lib/buildlink3.mk" |
29 | .endif | | 29 | .endif |
30 | | | 30 | |
31 | .if !empty(PKG_OPTIONS:Mmozilla-jemalloc) | | 31 | .if !empty(PKG_OPTIONS:Mmozilla-jemalloc) |
32 | CONFIGURE_ARGS+= --enable-jemalloc | | 32 | CONFIGURE_ARGS+= --enable-jemalloc |
33 | CONFIGURE_ARGS+= --enable-replace-malloc | | 33 | CONFIGURE_ARGS+= --enable-replace-malloc |