git: 68465db0de72 - main - deskutils/xfce4-notifyd: Correctly depend on canberra for sound support

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Fri, 22 Sep 2023 07:05:57 UTC
The branch main has been updated by madpilot:

URL: https://cgit.FreeBSD.org/ports/commit/?id=68465db0de72a4756c696e8cab1a380eb9697f31

commit 68465db0de72a4756c696e8cab1a380eb9697f31
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2023-09-22 07:04:47 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2023-09-22 07:04:47 +0000

    deskutils/xfce4-notifyd: Correctly depend on canberra for sound support
    
    Upstream configure script does not have a specific canberra knob,
    so use the sound knob to really control linking to canberra library
    for sound support.
    
    To better describe the option I renamed it to SOUND (still disabled
    by default)
    
    PR:             273805
    Fixes:          4018c2022be41e2e634d970655cfe78c4b997dc0
    MFH:            2023Q3
---
 deskutils/xfce4-notifyd/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/deskutils/xfce4-notifyd/Makefile b/deskutils/xfce4-notifyd/Makefile
index cbee8f912314..68894d999080 100644
--- a/deskutils/xfce4-notifyd/Makefile
+++ b/deskutils/xfce4-notifyd/Makefile
@@ -29,14 +29,14 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-systemd
 INSTALL_TARGET=	install-strip
 
-OPTIONS_DEFINE=	CANBERRA NLS
+OPTIONS_DEFINE=	NLS SOUND
 OPTIONS_SUB=	yes
 
-CANBERRA_DESC=	Sound (audio) support via canberra
+SOUND_DESC=	Sound (audio) support via canberra
 
-CANBERRA_LIB_DEPENDS=		libcanberra.so:audio/libcanberra \
-				libcanberra-gtk3.so:audio/libcanberra-gtk3
-CANBERRA_CONFIGURE_ENABLE=	canberra
+SOUND_LIB_DEPENDS=	libcanberra.so:audio/libcanberra \
+			libcanberra-gtk3.so:audio/libcanberra-gtk3
+SOUND_CONFIGURE_ENABLE=	sound
 
 NLS_USES=		gettext-runtime
 NLS_CONFIGURE_ENABLE=	nls