When SYMLINK is enable "install" only creates the play and rec symlinks if no audio devices are selected: case ${enable_symlinks:=yes} in #( yes) : SYMLINKS=soxi if test -n "$sox_devices" then : SYMLINKS="$SYMLINKS play rec" fi ;; #( *) : ;; esac While this might be an odd configuration, the sox build setup allows it so the port should as well. Here's a quick patch.
Created attachment 273321 [details] patch
That looks reasonable, except I'm not sure about using a # symbol to remove a line in the plist. The documented way is to set the variable to "@comment " .
Created attachment 273328 [details] revised patch Of course you're right; here's an updated patch that uses @comment.
Created attachment 273329 [details] revised patch #2 Oops, looking at existing ports I guess a blank needs to follow @comment.
Yep, was just going to mention that. The latest patch looks good.
I can commit this with maintainer approve '+' on the patch.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e7207ceba5ffb809b6deb48f895fdea8daf80acc commit e7207ceba5ffb809b6deb48f895fdea8daf80acc Author: Craig Leres <leres@FreeBSD.org> AuthorDate: 2026-07-30 22:53:10 +0000 Commit: Craig Leres <leres@FreeBSD.org> CommitDate: 2026-07-30 22:53:10 +0000 audio/sox: Unbreak build when no audio devices are selected Upstream allows this configuration so the port should as well. PR: 297173 Approved by: Dan Nelson (maintainer) audio/sox/Makefile | 13 ++++++++++++- audio/sox/pkg-plist | 4 ++-- 2 files changed, 14 insertions(+), 3 deletions(-)
Thanks for checking my patch (and the quick approval).