maintainer-feedback requested: [Bug 292308] audio/openal-soft: Optionally remove dependency on RTKIT/DBUS

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 09 Jan 2026 20:24:46 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-multimedia
(Nobody) <multimedia@FreeBSD.org> for maintainer-feedback:
Bug 292308: audio/openal-soft: Optionally remove dependency on RTKIT/DBUS
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292308



--- Description ---
OpenAL Soft uses RTKit (via D-Bus) to request real-time scheduling. However,
RTKit is a Linux-specific daemon that interfaces with Linux-specific kernel
features; it has no functional equivalent on FreeBSD. Consequently, the
devel/dbus dependency provides no benefit to FreeBSD users and acts as a
"zombie" dependency.

This patch introduces an RTKIT option to the port:

Default is ON: To maintain the status quo for official binary packages and
avoid breaking existing expectations.

Functionality: When disabled, it passes ALSOFT_RTKIT=OFF to CMake, which
successfully prunes the link-time dependency on libdbus-1.

Testing performed:
Verified that libopenal.so no longer links to libdbus-1 when the option is OFF
using ldd.
Verified that the port still builds and functions correctly with the option ON.
Confirmed that pre-existing make check-plist errors in this port are unrelated
to these changes.