From owner-svn-ports-head@freebsd.org Sat Mar 27 17:25:28 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0432D57A855; Sat, 27 Mar 2021 17:25:28 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F75MW6jjFz4SmS; Sat, 27 Mar 2021 17:25:27 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D94A710B7D; Sat, 27 Mar 2021 17:25:27 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 12RHPRAo096005; Sat, 27 Mar 2021 17:25:27 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 12RHPRER096004; Sat, 27 Mar 2021 17:25:27 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <202103271725.12RHPRER096004@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Sat, 27 Mar 2021 17:25:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r569341 - head/audio/virtual_oss X-SVN-Group: ports-head X-SVN-Commit-Author: lwhsu X-SVN-Commit-Paths: head/audio/virtual_oss X-SVN-Commit-Revision: 569341 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2021 17:25:28 -0000 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"