git: 9c91cdb96cd5 - main - sysutils/synergy: Fix build sysutils/synergy without AVAHI_LIBDNS option

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 14 Oct 2022 16:54:06 UTC
The branch main has been updated by yuri:

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

commit 9c91cdb96cd57ed8ef496735848652b799c2dfb2
Author:     ml@netfence.it <ml@netfence.it>
AuthorDate: 2022-10-14 14:59:08 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-14 14:59:08 +0000

    sysutils/synergy: Fix build sysutils/synergy without AVAHI_LIBDNS option
    
    PR:             267019
---
 sysutils/synergy/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sysutils/synergy/Makefile b/sysutils/synergy/Makefile
index dc0303751889..bb0e89937935 100644
--- a/sysutils/synergy/Makefile
+++ b/sysutils/synergy/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libnotify.so:devel/libnotify \
 		libxkbfile.so:x11/libxkbfile
 
-USES=		cmake compiler:c++14-lang cpe gnome localbase:ldflags qt:5 ssl xorg
+USES=		cmake compiler:c++14-lang cpe gnome localbase:ldflags pkgconfig qt:5 ssl xorg
 CPE_VENDOR=	synergy-foss
 USE_QT=		core dbus network widgets buildtools:build linguisttools:build qmake:build
 USE_GNOME=	gdkpixbuf2 glib20
@@ -39,7 +39,6 @@ OPTIONS_DEFAULT=		AVAHI_LIBDNS
 OPTIONS_SUB=			yes
 
 AVAHI_LIBDNS_DESC=		Use libdns from avahi to avoid conflicts with KDE/Gnome
-AVAHI_LIBDNS_USES=		pkgconfig
 AVAHI_LIBDNS_CFLAGS=		`pkg-config --cflags avahi-compat-libdns_sd`
 AVAHI_LIBDNS_LDFLAGS=		`pkg-config --libs avahi-compat-libdns_sd`
 AVAHI_LIBDNS_LIB_DEPENDS=	libdns_sd.so:net/avahi-libdns