git: aadac35266d2 - main - dns/kf6-kdnssd: make Zeroconf support optional
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Apr 2025 22:06:53 UTC
The branch main has been updated by makc: URL: https://cgit.FreeBSD.org/ports/commit/?id=aadac35266d2b4579e2610584c08ee46f520ca8c commit aadac35266d2b4579e2610584c08ee46f520ca8c Author: Max Brazhnikov <makc@FreeBSD.org> AuthorDate: 2025-04-12 22:05:41 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2025-04-12 22:05:41 +0000 dns/kf6-kdnssd: make Zeroconf support optional --- dns/kf6-kdnssd/Makefile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/dns/kf6-kdnssd/Makefile b/dns/kf6-kdnssd/Makefile index e22394560dd4..b34d3a4a37d5 100644 --- a/dns/kf6-kdnssd/Makefile +++ b/dns/kf6-kdnssd/Makefile @@ -5,10 +5,22 @@ CATEGORIES= dns kde kde-frameworks COMMENT= Network service discovery using Zeroconf MAINTAINER= kde@FreeBSD.org -BUILD_DEPENDS= ${LOCALBASE}/include/avahi-common/defs.h:net/avahi-app - USES= cmake kde:6 qt:6 tar:xz USE_KDE= ecm:build USE_QT= base tools +OPTIONS_DEFAULT= AVAHI +OPTIONS_RADIO= ZEROCONF +OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER +ZEROCONF_DESC= Zeroconf (Bonjour) support + +AVAHI_BUILD_DEPENDS= ${LOCALBASE}/include/avahi-common/defs.h:net/avahi-app +AVAHI_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Avahi + +# libdns_sd.so is also provided by avahi-libdns. +# Add BUILD_DEPENDS to uniquely select mDNSResponder. +MDNSRESPONDER_BUILD_DEPENDS= ${LOCALBASE}/include/dns_sd.h:net/mDNSResponder +MDNSRESPONDER_LIB_DEPENDS= libdns_sd.so:net/mDNSResponder +MDNSRESPONDER_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_DNSSD + .include <bsd.port.mk>