package/cups: fix avahi handling

--{dis,en}able-avahi is unrecognized since bump to version 2.3.3op2 in
commit 8cf034ab0f (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@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2024-01-05 18:51:07 +01:00 committed by Thomas Petazzoni
parent 3ebd3bf15e
commit 36743d6175

View File

@ -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)