summaryrefslogtreecommitdiff
path: root/audio/sox/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sox/options.mk')
-rw-r--r--audio/sox/options.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/sox/options.mk b/audio/sox/options.mk
new file mode 100644
index 00000000000..a9d9fa4419c
--- /dev/null
+++ b/audio/sox/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2007/08/06 05:28:37 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.sox
+PKG_SUPPORTED_OPTIONS= lame oss
+# lame has LICENSE= issues and thus should not be SUGGESTED.
+PKG_SUGGESTED_OPTIONS=
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mlame)
+# This is an option due to LICENSE= issues.
+.include "../../audio/lame/buildlink3.mk"
+.endif
+
+.if empty(PKG_OPTIONS:Moss)
+CONFIGURE_ARGS+= --without-oss
+.endif