Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2021 17:25:27 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r569341 - head/audio/virtual_oss
Message-ID:  <202103271725.12RHPRER096004@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103271725.12RHPRER096004>