summaryrefslogtreecommitdiff
path: root/security/tor-browser/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/tor-browser/options.mk')
-rw-r--r--security/tor-browser/options.mk13
1 files changed, 10 insertions, 3 deletions
diff --git a/security/tor-browser/options.mk b/security/tor-browser/options.mk
index a216e3b3a3f..8d3f44450a7 100644
--- a/security/tor-browser/options.mk
+++ b/security/tor-browser/options.mk
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.6 2020/06/07 13:06:00 wiz Exp $
+# $NetBSD: options.mk,v 1.7 2020/08/17 06:58:02 riastradh Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.tor-browser
-PKG_SUPPORTED_OPTIONS+= alsa debug debug-info mozilla-jemalloc pulseaudio
+PKG_SUPPORTED_OPTIONS+= alsa dbus debug debug-info mozilla-jemalloc pulseaudio
-PKG_SUGGESTED_OPTIONS.Linux+= alsa mozilla-jemalloc
+PKG_SUGGESTED_OPTIONS.Linux+= alsa dbus mozilla-jemalloc
.include "../../mk/bsd.fast.prefs.mk"
@@ -20,6 +20,13 @@ CONFIGURE_ARGS+= --enable-alsa
CONFIGURE_ARGS+= --disable-alsa
.endif
+.if !empty(PKG_OPTIONS:Mdbus)
+CONFIGURE_ARGS+= --enable-dbus
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-dbus
+.endif
+
.if !empty(PKG_OPTIONS:Mmozilla-jemalloc)
CONFIGURE_ARGS+= --enable-jemalloc
.else