aboutsummaryrefslogtreecommitdiff
path: root/audio/virtual_oss/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/virtual_oss/Makefile')
-rw-r--r--audio/virtual_oss/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/virtual_oss/Makefile b/audio/virtual_oss/Makefile
index c37b25e04519..59db9c4df7f6 100644
--- a/audio/virtual_oss/Makefile
+++ b/audio/virtual_oss/Makefile
@@ -4,6 +4,7 @@
PORTNAME= virtual_oss
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.8
+PORTREVISION= 1
CATEGORIES= audio
MAINTAINER= hselasky@FreeBSD.org
@@ -25,12 +26,15 @@ OPTIONS_DEFINE= BLUETOOTH BT_SPEAKER COMMAND DEBUG EQUALIZER HTTPD
OPTIONS_DEFAULT=BLUETOOTH COMMAND EQUALIZER
MAKE_ARGS= HAVE_CUSE="YES"
+.if exists(/usr/include/sys/sndstat.h)
+MAKE_ARGS+= HAVE_SNDSTAT="YES"
+.endif
BLUETOOTH_DESC= Build with bluetooth support
BLUETOOTH_MAKE_ARGS= HAVE_BLUETOOTH="YES"
BT_SPEAKER_DESC= Build with bluetooth speaker utility
-BT_SPEAKER_PLIST_FILES= sbin/virtual_bt_speaker \
+BT_SPEAKER_PLIST_FILES= sbin/virtual_bt_speaker \
man/man8/virtual_bt_speaker.8.gz
BT_SPEAKER_MAKE_ARGS= HAVE_BLUETOOTH_SPEAKER="YES"