summaryrefslogtreecommitdiff
path: root/www/firefox/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/options.mk')
-rw-r--r--www/firefox/options.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/www/firefox/options.mk b/www/firefox/options.mk
index 8e816017822..d97832af48b 100644
--- a/www/firefox/options.mk
+++ b/www/firefox/options.mk
@@ -1,8 +1,9 @@
-# $NetBSD: options.mk,v 1.27 2015/10/16 12:58:16 jmcneill Exp $
+# $NetBSD: options.mk,v 1.28 2015/12/27 18:25:33 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.firefox
PKG_SUPPORTED_OPTIONS= official-mozilla-branding
-PKG_SUPPORTED_OPTIONS+= alsa debug debug-info mozilla-jemalloc gnome pulseaudio webrtc
+PKG_SUPPORTED_OPTIONS+= debug debug-info mozilla-jemalloc gnome webrtc
+PKG_SUPPORTED_OPTIONS+= alsa oss pulseaudio
PLIST_VARS+= gnome jemalloc debug
.if ${OPSYS} == "Linux"
@@ -25,6 +26,13 @@ CONFIGURE_ARGS+= --enable-alsa
CONFIGURE_ARGS+= --disable-alsa
.endif
+.if !empty(PKG_OPTIONS:Moss)
+CONFIGURE_ARGS+= --with-oss
+.include "../../mk/oss.buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-oss
+.endif
+
.if !empty(PKG_OPTIONS:Mgnome)
.include "../../devel/libgnomeui/buildlink3.mk"
#.include "../../sysutils/gnome-vfs/buildlink3.mk"