diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2021-03-27 17:25:27 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2021-03-27 17:25:27 +0000 |
commit | 69f5351cde7b54a251dd69bf42aba87832d37bc1 (patch) | |
tree | fedd9fb6f42da1c31a2766f3433e1860576e6a0e /audio/virtual_oss | |
parent | 12665d242c19bca180f1e92d338acca570c4e1ec (diff) | |
download | ports-69f5351cde7b54a251dd69bf42aba87832d37bc1.tar.gz ports-69f5351cde7b54a251dd69bf42aba87832d37bc1.zip |
audio/virtual_oss: Add sndstat(4) support
Also fix a portlint(1) warning.
Submitted by: khng
Approved by: hselasky (maintainer)
Reviewed by: philip
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D29413
Notes
Notes:
svn path=/head/; revision=569341
Diffstat (limited to 'audio/virtual_oss')
-rw-r--r-- | audio/virtual_oss/Makefile | 6 |
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" |