FreeBSD Port: print/cups-base - Avahi backend

Raivo Hool raivo.hool at
Mon May 12 18:52:08 UTC 2014

The cups-base port has been marked as BROKEN if built against Avahi since version 1.4. (The Makefile even helpfully points the user to which states that the problem exists with CUPS version 1.4 and that a fix is in the making.) Since version 1.6, however, there exists native Avahi support in CUPS and there is really no point in marking the port broken and including all kinds of compatibility headers that are no longer of any use whatsoever. Building CUPS 1.7 directly against Avahi works well and without any need for the avahi-compat-libdns_sd headers. I tested the setup on my system and came up with the following patch that incidentally also checks whether one or the other mDNS backend was selected and activates the pkg-plist magic accordingly. (Note how the dependency on avahi-libdns has been replaced with a dependency on avahi-app, as the configure script checks for the presence of, installed by net/avahi-app.)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-cups_172_avahi
Type: application/octet-stream
Size: 1480 bytes
Desc: not available
URL: <>

More information about the freebsd-ports mailing list