[Buildroot] [git commit] package/cups: fix avahi handling

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Jan 6 09:52:03 UTC 2024


commit: https://git.buildroot.net/buildroot/commit/?id=36743d61756ec4c8bdf1963a8cfea01724ba78ef
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

--{dis,en}able-avahi is unrecognized since bump to version 2.3.3op2 in
commit 8cf034ab0f686d0a3891b6fe5bb5a2d1bdf381d5 (which switched upstream
location from apple to openprinting):

configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-systemd, --disable-avahi

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/cups/cups.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/cups/cups.mk b/package/cups/cups.mk
index 119a81aa68..a5098b50e9 100644
--- a/package/cups/cups.mk
+++ b/package/cups/cups.mk
@@ -65,11 +65,11 @@ else
 CUPS_CONF_OPTS += --disable-libusb
 endif
 
-ifeq ($(BR2_PACKAGE_AVAHI),y)
+ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y)
 CUPS_DEPENDENCIES += avahi
-CUPS_CONF_OPTS += --enable-avahi
+CUPS_CONF_OPTS += --with-dnssd=avahi
 else
-CUPS_CONF_OPTS += --disable-avahi
+CUPS_CONF_OPTS += --with-dnssd=no
 endif
 
 ifeq ($(BR2_PACKAGE_HAS_UDEV),y)



More information about the buildroot mailing list