git: d680dedc7915 - 2023Q3 - deskutils/xfce4-notifyd: Correctly depend on canberra for sound support

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

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

commit d680dedc79156587c2559c652bcb3467d7a03802
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:07:17 +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
    
    (cherry picked from commit 68465db0de72a4756c696e8cab1a380eb9697f31)
---
 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 4b42748113fe..c0b5c3b9b4e8 100644
--- a/deskutils/xfce4-notifyd/Makefile
+++ b/deskutils/xfce4-notifyd/Makefile
@@ -29,14 +29,14 @@ USE_XORG=	ice sm x11
 GNU_CONFIGURE=	yes
 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