svn commit: r569341 - head/audio/virtual_oss

Li-Wen Hsu lwhsu at FreeBSD.org
Sat Mar 27 17:25:28 UTC 2021


Author: lwhsu
Date: Sat Mar 27 17:25:27 2021
New Revision: 569341
URL: https://svnweb.freebsd.org/changeset/ports/569341

Log:
  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

Modified:
  head/audio/virtual_oss/Makefile

Modified: head/audio/virtual_oss/Makefile
==============================================================================
--- head/audio/virtual_oss/Makefile	Sat Mar 27 17:24:35 2021	(r569340)
+++ head/audio/virtual_oss/Makefile	Sat Mar 27 17:25:27 2021	(r569341)
@@ -4,6 +4,7 @@
 PORTNAME=	virtual_oss
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.2.8
+PORTREVISION=	1
 CATEGORIES=	audio
 
 MAINTAINER=	hselasky at FreeBSD.org
@@ -25,12 +26,15 @@ OPTIONS_DEFINE=	BLUETOOTH BT_SPEAKER COMMAND DEBUG EQU
 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"
 


More information about the svn-ports-head mailing list